You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2015/02/27 01:28:04 UTC
[jira] [Created] (HBASE-13120) Allow disabling hadoop classpath and
native library lookup
Siddharth Wagle created HBASE-13120:
---------------------------------------
Summary: Allow disabling hadoop classpath and native library lookup
Key: HBASE-13120
URL: https://issues.apache.org/jira/browse/HBASE-13120
Project: HBase
Issue Type: Improvement
Components: hbase
Affects Versions: 0.98.0
Reporter: Siddharth Wagle
- Current bin/hbase script sets the java.library.path to include hadoop native libs based on what version of hadoop is installed on the box.
{code}
HADOOP_IN_PATH=$(PATH="${HADOOP_HOME:-${HADOOP_PREFIX}}/bin:$PATH" which hadoop 2>/dev/null)
{code}
- This effectively means that a self-contained HBase running with a different version of embedded hadoop jars will fail to work in case of version incompatibilities.
- Example: AMBARI-5707, runs a embedded HBase on local FS side-by-side with cluster Hadoop installation.
- It would be good to have a hbase-env variable to completely override native lib path or a config to disable native lib path lookup, in which case user has to provide it during start.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)