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:
Michael Stack 2011-11-29 05:54:59 +00:00
parent 01652cecb9
commit 44fd83732d
1 changed files with 5 additions and 0 deletions

View File

@ -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"