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:
parent
7c0db34275
commit
1de90b853b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue