Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9FB519F8F for ; Tue, 22 Mar 2016 12:03:25 +0000 (UTC) Received: (qmail 31726 invoked by uid 500); 22 Mar 2016 12:03:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 31635 invoked by uid 500); 22 Mar 2016 12:03:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 31508 invoked by uid 99); 22 Mar 2016 12:03:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2016 12:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8E3612C1F5C for ; Tue, 22 Mar 2016 12:03:25 +0000 (UTC) Date: Tue, 22 Mar 2016 12:03:25 +0000 (UTC) From: "Samir Ahmic (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-15486) Avoid multiple disable/enable balancer calls while running rolling-restart.sh --graceful MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samir Ahmic updated HBASE-15486: -------------------------------- Attachment: HBASE-15486_v0.patch Here is patch tested on master branch cluster. > Avoid multiple disable/enable balancer calls while running rolling-restart.sh --graceful > ----------------------------------------------------------------------------------------- > > Key: HBASE-15486 > URL: https://issues.apache.org/jira/browse/HBASE-15486 > Project: HBase > Issue Type: Improvement > Components: scripts > Affects Versions: 2.0.0, 1.1.4, 1.0.4 > Reporter: Samir Ahmic > Assignee: Samir Ahmic > Priority: Minor > Fix For: 2.0.0 > > Attachments: HBASE-15486_v0.patch > > > When running rolling-restart.sh --graceful we are using graceful_stop.sh to unload/restart/load regionserver. For every restarted regionserver we are making two calls in graceful-stop.sh to hbase shell to disable/enable balancer. This means if we have 100 regionservers to restart by rolling-restart.sh --graceful we will make 200 calls to hbase shell. Instead i propose that we add optional parameter in graceful_stop.sh that will tell script not to manage balancer and manage balancer states in rolling-restart.sh when running with --graceful parameter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)