[
https://issues.apache.org/jira/browse/HBASE-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064725#comment-13064725
]
stack commented on HBASE-3465:
------------------------------
Alejandro:
So, whats in the hbase tar ball? Do we include an hadoop jar? We need to,
don't we, so that we can run standalone mode.
If HADOOP_HOME is defined and if hbase/lib dir has hadoop*jars, we'll need to
do some pruning of the CLASSPATH. Currently we include hbase/lib/*... We'd
have to do a little messing to exclude hadoop-*.jars. That'd be easy enough.
What you reckon @Ted?
I can help out Alejandro. I volunteer to do the doc portion of this issue.
> Hbase should use a HADOOP_HOME environment variable if available.
> -----------------------------------------------------------------
>
> Key: HBASE-3465
> URL: https://issues.apache.org/jira/browse/HBASE-3465
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.90.0
> Reporter: Ted Dunning
>
> I have been burned a few times lately while developing code by having the
> make sure that the hadoop jar in hbase/lib is exactly correct. In my own
> deployment, there are actually 3 jars and a native library to keep in sync
> that hbase shouldn't have to know about explicitly. A similar problem arises
> when using stock hbase with CDH3 because of the security patches changing the
> wire protocol.
> All of these problems could be avoided by not assuming that the hadoop
> library is in the local directory. Moreover, I think it might be possible to
> assemble the distribution such that the compile time hadoop dependency is in
> a cognate directory to lib and is referenced using a default value for
> HADOOP_HOME.
> Does anybody have any violent antipathies to such a change?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira