Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.90.0
-
None
-
None
-
Reviewed
-
If HADOOP_HOME is defined, we'll use this hadoop over whats in HBASE_HOME/lib
Description
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?
Attachments
Attachments
Issue Links
- is superceded by
-
HBASE-4854 it seems that CLASSPATH elements coming from Hadoop change HBase behaviour
- Closed