Better balancer javadoc

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1092532 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2011-04-14 22:10:53 +00:00
parent c27e354e2e
commit 94ee83f348
2 changed files with 6 additions and 3 deletions

View File

@ -188,7 +188,9 @@ public interface HMasterInterface extends VersionedProtocol {
* 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();

View File

@ -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