HBASE-4884 Allow environment overrides for various HBase processes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207760 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
01652cecb9
commit
44fd83732d
|
@ -106,6 +106,11 @@ if [ "$MAVEN_HOME" != "" ]; then
|
||||||
MVN=${MAVEN_HOME}/bin/mvn
|
MVN=${MAVEN_HOME}/bin/mvn
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# override default settings for this command, if applicable
|
||||||
|
if [ -f "$HBASE_HOME/conf/hbase-env-$COMMAND.sh" ]; then
|
||||||
|
. "$HBASE_HOME/conf/hbase-env-$COMMAND.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# check envvars which might override default args
|
# check envvars which might override default args
|
||||||
if [ "$HBASE_HEAPSIZE" != "" ]; then
|
if [ "$HBASE_HEAPSIZE" != "" ]; then
|
||||||
#echo "run with heapsize $HBASE_HEAPSIZE"
|
#echo "run with heapsize $HBASE_HEAPSIZE"
|
||||||
|
|
Loading…
Reference in New Issue