HBASE-3278 AssertionError in LoadBalancer

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1040269 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-11-29 20:23:42 +00:00
parent 2149277bf3
commit 1649ad1174
1 changed files with 4 additions and 1 deletions

View File

@ -293,7 +293,10 @@ public class LoadBalancer {
long endTime = System.currentTimeMillis();
assert(regionidx == regionsToMove.size());
assert(regionidx == regionsToMove.size()): "clusterState=" + clusterState +
", regionidx=" + regionidx + ", regionsToMove=" + regionsToMove +
", numServers=" + numServers + ", serversOverloaded=" + serversOverloaded +
", serversUnderloaded=" + serversUnderloaded;
assert(neededRegions == 0);
// All done!