HBASE-6803 script hbase should add JAVA_LIBRARY_PATH to LD_LIBRARY_PATH

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jxiang 2012-09-18 17:02:01 +00:00
parent 7c0db34275
commit 1de90b853b
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ HBASE_OPTS="$HBASE_OPTS -Dhbase.id.str=$HBASE_IDENT_STRING"
HBASE_OPTS="$HBASE_OPTS -Dhbase.root.logger=${HBASE_ROOT_LOGGER:-INFO,console}" HBASE_OPTS="$HBASE_OPTS -Dhbase.root.logger=${HBASE_ROOT_LOGGER:-INFO,console}"
if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then
HBASE_OPTS="$HBASE_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH" HBASE_OPTS="$HBASE_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JAVA_LIBRARY_PATH"
fi fi
# Enable security logging on the master and regionserver only # Enable security logging on the master and regionserver only