[ 
https://issues.apache.org/jira/browse/HBASE-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085522#comment-14085522
 ] 

Esteban Gutierrez commented on HBASE-3533:
------------------------------------------

Our docs say that {{HBASE_LIBRARY_PATH}}  should be used for the native 
libraries but turns out that we don't use it at all.

The {{bin/hbase}} script however is smart enough to configure 
{{JAVA_LIBRARY_PATH}} if the natives are deployed in the standard location 
under {{lib/native/$JAVA_PLATFORM}} or {{build/native/$JAVA_PLATFORM/lib}} and 
include {{HADOOP_JAVA_LIBRARY_PATH}} in {{JAVA_LIBRARY_PATH}} if defined. But 
if we pass {{HBASE_LIBRARY_PATH}} it has no effect. Attached a patch that 
includes {{HBASE_LIBRARY_PATH}} (if defined) into {{JAVA_LIBRARY_PATH}}.



> Allow HBASE_LIBRARY_PATH env var to specify extra locations of native libs
> --------------------------------------------------------------------------
>
>                 Key: HBASE-3533
>                 URL: https://issues.apache.org/jira/browse/HBASE-3533
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hbase-3533.txt
>
>
> Would be handy when you have native libs at other spots on the system (eg I 
> often want to test hadoop-lzo changes directly out of its build dir)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to