[ 
https://issues.apache.org/jira/browse/HBASE-4846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell resolved HBASE-4846.
-----------------------------------
    Resolution: Invalid

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to