HBASE-8565 stop-hbase.sh clean up: backup master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516370 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
292d1bfb19
commit
a2e9e7e8f9
|
@ -63,10 +63,5 @@ rm -f $pid
|
|||
distMode=`$bin/hbase --config "$HBASE_CONF_DIR" org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed | head -n 1`
|
||||
if [ "$distMode" == 'true' ]
|
||||
then
|
||||
# TODO: store backup masters in ZooKeeper and have the primary send them a shutdown message
|
||||
# stop any backup masters
|
||||
"$bin"/hbase-daemons.sh --config "${HBASE_CONF_DIR}" \
|
||||
--hosts "${HBASE_BACKUP_MASTERS}" stop master-backup
|
||||
|
||||
"$bin"/hbase-daemons.sh --config "${HBASE_CONF_DIR}" stop zookeeper
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue