hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1102858 - in /hbase/branches/0.90: CHANGES.txt bin/graceful_stop.sh
Date Fri, 13 May 2011 18:38:43 GMT
Author: stack
Date: Fri May 13 18:38:42 2011
New Revision: 1102858

URL: http://svn.apache.org/viewvc?rev=1102858&view=rev
Log:
HBASE-3881 Add disable balancer in graceful_stop.sh script

Modified:
    hbase/branches/0.90/CHANGES.txt
    hbase/branches/0.90/bin/graceful_stop.sh

Modified: hbase/branches/0.90/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1102858&r1=1102857&r2=1102858&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Fri May 13 18:38:42 2011
@@ -4,6 +4,7 @@ Release 0.90.4 - Unreleased
     HBASE-3617 NoRouteToHostException during balancing will cause Master abort
                (Ted Yu)
     HBASE-3878 Hbase client throws NoSuchElementException (Ted Yu)
+    HBASE-3881 Add disable balancer in graceful_stop.sh script
 
 Release 0.90.3 - Unreleased
   BUG FIXES

Modified: hbase/branches/0.90/bin/graceful_stop.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/bin/graceful_stop.sh?rev=1102858&r1=1102857&r2=1102858&view=diff
==============================================================================
--- hbase/branches/0.90/bin/graceful_stop.sh (original)
+++ hbase/branches/0.90/bin/graceful_stop.sh Fri May 13 18:38:42 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