HBase can't find the native lib ------------------------------- Key: HBASE-4846 URL: https://issues.apache.org/jira/browse/HBASE-4846 Project: HBase Issue Type: Bug Components: shell Affects Versions: 0.90.4 Reporter: Aaron Guo
the shell script:${HBASE_HOME}/bin/hbase load the hadoop native lib like this: if [ -d "/usr/lib/hadoop-0.20/lib/native/${JAVA_PLATFORM}" ] ; then JAVA_LIBRARY_PATH=$(append_path "${JAVA_LIBRARY_PATH}" /usr/lib/hadoop-0.20/lib/native/${JAVA_PLATFORM}) fi It should work like this: if [ -d "${HADOOP_HOME}/lib/native/${JAVA_PLATFORM}" ] ; then JAVA_LIBRARY_PATH=$(append_path "${JAVA_LIBRARY_PATH}" ${HADOOP_HOME}/lib/native/${JAVA_PLATFORM}) fi -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira