diff --git bin/start-hbase.sh bin/start-hbase.sh index 15e952e..6240ee6 100755 --- bin/start-hbase.sh +++ bin/start-hbase.sh @@ -38,7 +38,7 @@ then exit $errCode fi -distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` +distMode=`$bin/hbase --config "$HBASE_CONF_DIR" org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` if [ "$distMode" == 'false' ] diff --git bin/stop-hbase.sh bin/stop-hbase.sh index 670ec21..73ca7c1 100755 --- bin/stop-hbase.sh +++ bin/stop-hbase.sh @@ -59,7 +59,7 @@ done echo # distributed == false means that the HMaster will kill ZK when it exits -distMode=`$bin/hbase org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` +distMode=`$bin/hbase --config "$HBASE_CONF_DIR" org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed` if [ "$distMode" == 'true' ] then # TODO: store backup masters in ZooKeeper and have the primary send them a shutdown message