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 56E773591 for ; Fri, 6 May 2011 22:52:45 +0000 (UTC) Received: (qmail 6417 invoked by uid 500); 6 May 2011 22:52:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 6379 invoked by uid 500); 6 May 2011 22:52:45 -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 6371 invoked by uid 99); 6 May 2011 22:52:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 22:52:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 22:52:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 606CEC4552 for ; Fri, 6 May 2011 22:52:03 +0000 (UTC) Date: Fri, 6 May 2011 22:52:03 +0000 (UTC) From: "Aravind Gottipati (JIRA)" To: issues@hbase.apache.org Message-ID: <259231845.29379.1304722323391.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1625562198.29360.1304721723163.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-3866) Script to add regions gradually to a new regionserver. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aravind Gottipati updated HBASE-3866: ------------------------------------- Attachment: slow_balancer.rb This script uses a lot of the code from region_mover.rb. The script should be invoked like this. HBASE_NOEXEC=true $HBASE_HOME/bin/hbase org.jruby.Main $HBASE_HOME/bin/slow_balancer.rb --debug -l 2 The -l option is the target difference between the server with the maximum regions and the server with the minimum regions. Once the delta reaches this point, the script exits. If -l is not passed, it defaults to the number of region servers in your environment. > Script to add regions gradually to a new regionserver. > ------------------------------------------------------ > > Key: HBASE-3866 > URL: https://issues.apache.org/jira/browse/HBASE-3866 > Project: HBase > Issue Type: Improvement > Components: scripts > Affects Versions: 0.90.2 > Reporter: Aravind Gottipati > Priority: Minor > Attachments: slow_balancer.rb > > > When a new region server is brought online, the current balancer kicks off a whole bunch of region moves and causes a lot of regions to be un-available right away. A slower balancer that gradually balances the cluster is probably a good script to have. I have an initial version that mooches off the region_mover script to do this. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira