You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jx...@apache.org on 2012/09/18 19:04:49 UTC

svn commit: r1387260 - /hbase/branches/0.94/bin/hbase

Author: jxiang
Date: Tue Sep 18 17:04:49 2012
New Revision: 1387260

URL: http://svn.apache.org/viewvc?rev=1387260&view=rev
Log:
HBASE-6803 script hbase should add JAVA_LIBRARY_PATH to LD_LIBRARY_PATH

Modified:
    hbase/branches/0.94/bin/hbase

Modified: hbase/branches/0.94/bin/hbase
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/bin/hbase?rev=1387260&r1=1387259&r2=1387260&view=diff
==============================================================================
--- hbase/branches/0.94/bin/hbase (original)
+++ hbase/branches/0.94/bin/hbase Tue Sep 18 17:04:49 2012
@@ -323,6 +323,7 @@ HBASE_OPTS="$HBASE_OPTS -Dhbase.id.str=$
 HBASE_OPTS="$HBASE_OPTS -Dhbase.root.logger=${HBASE_ROOT_LOGGER:-INFO,console}"
 if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
   HBASE_OPTS="$HBASE_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH"
+  export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_LIBRARY_PATH"
 fi
 
 # Enable security logging on the master and regionserver only