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 AAE874575 for ; Fri, 13 May 2011 18:38:19 +0000 (UTC) Received: (qmail 35293 invoked by uid 500); 13 May 2011 18:38:19 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 35230 invoked by uid 500); 13 May 2011 18:38:19 -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 35223 invoked by uid 99); 13 May 2011 18:38:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 18:38:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 18:38:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E0F452388994; Fri, 13 May 2011 18:37:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1102857 - in /hbase/trunk: CHANGES.txt bin/graceful_stop.sh Date: Fri, 13 May 2011 18:37:55 -0000 To: commits@hbase.apache.org From: stack@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110513183755.E0F452388994@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stack Date: Fri May 13 18:37:55 2011 New Revision: 1102857 URL: http://svn.apache.org/viewvc?rev=1102857&view=rev Log: HBASE-3881 Add disable balancer in graceful_stop.sh script Modified: hbase/trunk/CHANGES.txt hbase/trunk/bin/graceful_stop.sh Modified: hbase/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1102857&r1=1102856&r2=1102857&view=diff ============================================================================== --- hbase/trunk/CHANGES.txt (original) +++ hbase/trunk/CHANGES.txt Fri May 13 18:37:55 2011 @@ -257,6 +257,7 @@ Release 0.90.4 - Unreleased BUG FIXES HBASE-3878 Hbase client throws NoSuchElementException (Ted Yu) + HBASE-3881 Add disable balancer in graceful_stop.sh script Release 0.90.3 - Unreleased Modified: hbase/trunk/bin/graceful_stop.sh URL: http://svn.apache.org/viewvc/hbase/trunk/bin/graceful_stop.sh?rev=1102857&r1=1102856&r2=1102857&view=diff ============================================================================== --- hbase/trunk/bin/graceful_stop.sh (original) +++ hbase/trunk/bin/graceful_stop.sh Fri May 13 18:37:55 2011 @@ -69,6 +69,8 @@ fi hostname=$1 filename="/tmp/$hostname" # Run the region mover script. +echo "Disabling balancer!" +echo 'balance_switch false' | "$bin"/hbase shell echo "Unloading $hostname region(s)" HBASE_NOEXEC=true "$bin"/hbase org.jruby.Main "$bin"/region_mover.rb --file=$filename $debug unload $hostname echo "Unloaded $hostname region(s)"