hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1040269 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java
Date Mon, 29 Nov 2010 20:23:43 GMT
Author: stack
Date: Mon Nov 29 20:23:42 2010
New Revision: 1040269

URL: http://svn.apache.org/viewvc?rev=1040269&view=rev
Log:
HBASE-3278 AssertionError in LoadBalancer

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java?rev=1040269&r1=1040268&r2=1040269&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java Mon Nov 29
20:23:42 2010
@@ -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!



Mime
View raw message