From 27151aff28691d53ec3ea8b112a0b08b9ff38659 Mon Sep 17 00:00:00 2001 From: Florin Broasca Date: Tue, 18 Nov 2014 15:53:55 +0200 Subject: [PATCH] HBASE-12513 Graceful stop script does not restore the balancer state --- bin/graceful_stop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/graceful_stop.sh b/bin/graceful_stop.sh index 8030600..70a0e1a 100755 --- a/bin/graceful_stop.sh +++ b/bin/graceful_stop.sh @@ -160,7 +160,7 @@ fi # Restore balancer state if [ $HBASE_BALANCER_STATE != "false" ]; then log "Restoring balancer state to " $HBASE_BALANCER_STATE - log "balance_switch $HBASE_BALANCER_STATE" | "$bin"/hbase --config ${HBASE_CONF_DIR} shell &> /dev/null + echo "balance_switch $HBASE_BALANCER_STATE" | "$bin"/hbase --config ${HBASE_CONF_DIR} shell &> /dev/null fi # Cleanup tmp files. -- 2.1.3