hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1102857 - in /hbase/trunk: CHANGES.txt bin/graceful_stop.sh
Date Fri, 13 May 2011 18:37:55 GMT
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)"



Mime
View raw message