HBASE-10120 start-hbase.sh doesn't respect --config in non-distributed mode

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndimiduk 2013-12-11 03:09:15 +00:00
parent fdbe8da2c6
commit 33a753c766
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ distMode=`$bin/hbase --config "$HBASE_CONF_DIR" org.apache.hadoop.hbase.util.HBa
if [ "$distMode" == 'false' ]
then
"$bin"/hbase-daemon.sh $commandToRun master $@
"$bin"/hbase-daemon.sh --config "${HBASE_CONF_DIR}" $commandToRun master $@
else
"$bin"/hbase-daemons.sh --config "${HBASE_CONF_DIR}" $commandToRun zookeeper
"$bin"/hbase-daemon.sh --config "${HBASE_CONF_DIR}" $commandToRun master