Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F5C210961 for ; Tue, 18 Nov 2014 21:14:49 +0000 (UTC) Received: (qmail 86180 invoked by uid 500); 18 Nov 2014 21:14:49 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 86140 invoked by uid 500); 18 Nov 2014 21:14:48 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 86131 invoked by uid 99); 18 Nov 2014 21:14:48 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2014 21:14:48 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B06C59A8F8C; Tue, 18 Nov 2014 21:14:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Message-Id: <15f31685841040a594ae89ee8a001984@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-12513 Graceful stop script does not restore the balancer state Date: Tue, 18 Nov 2014 21:14:48 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/master 14dc08c07 -> 69f685e7c HBASE-12513 Graceful stop script does not restore the balancer state Signed-off-by: stack Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/69f685e7 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/69f685e7 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/69f685e7 Branch: refs/heads/master Commit: 69f685e7cfa4d0e2194694579824d3485efc550c Parents: 14dc08c Author: Florin Broasca Authored: Tue Nov 18 15:53:55 2014 +0200 Committer: stack Committed: Tue Nov 18 13:14:41 2014 -0800 ---------------------------------------------------------------------- bin/graceful_stop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/69f685e7/bin/graceful_stop.sh ---------------------------------------------------------------------- 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.