hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1092533 - in /hbase/branches/0.90/src/main: java/org/apache/hadoop/hbase/ipc/HMasterInterface.java ruby/shell/commands/balancer.rb
Date Thu, 14 Apr 2011 22:11:16 GMT
Author: jdcryans
Date: Thu Apr 14 22:11:15 2011
New Revision: 1092533

URL: http://svn.apache.org/viewvc?rev=1092533&view=rev
Log:
Better balancer javadoc

Modified:
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java
    hbase/branches/0.90/src/main/ruby/shell/commands/balancer.rb

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java?rev=1092533&r1=1092532&r2=1092533&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java Thu
Apr 14 22:11:15 2011
@@ -177,7 +177,9 @@ public interface HMasterInterface extend
    * Run the balancer.  Will run the balancer and if regions to move, it will
    * go ahead and do the reassignments.  Can NOT run for various reasons.  Check
    * logs.
-   * @return True if balancer ran, false otherwise.
+   * @return True if balancer ran and was able to tell the region servers to
+   * unassign all the regions to balance (the re-assignment itself is async),
+   * false otherwise.
    */
   public boolean balance();
 

Modified: hbase/branches/0.90/src/main/ruby/shell/commands/balancer.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/ruby/shell/commands/balancer.rb?rev=1092533&r1=1092532&r2=1092533&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/ruby/shell/commands/balancer.rb (original)
+++ hbase/branches/0.90/src/main/ruby/shell/commands/balancer.rb Thu Apr 14 22:11:15 2011
@@ -23,8 +23,9 @@ module Shell
     class Balancer < Command
       def help
         return <<-EOF
-Trigger the cluster balancer. Returns true if balancer ran.  Otherwise
-false (Will not run if regions in transition).
+Trigger the cluster balancer. Returns true if balancer ran and was able to
+tell the region servers to unassign all the regions to balance  (the re-assignment itself
is async). 
+Otherwise false (Will not run if regions in transition).
 EOF
       end
 



Mime
View raw message