hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r1102386 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/LoadBalancer.java
Date Thu, 12 May 2011 17:18:45 GMT
Author: jdcryans
Date: Thu May 12 17:18:45 2011
New Revision: 1102386

URL: http://svn.apache.org/viewvc?rev=1102386&view=rev
Log:
Fixing a log message in LoadBalancer, saw by Gaojinchao

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=1102386&r1=1102385&r2=1102386&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 Thu May 12
17:18:45 2011
@@ -243,7 +243,7 @@ public class LoadBalancer {
         "servers=" + numServers + " " +
         "regions=" + numRegions + " average=" + average + " " +
         "mostloaded=" + serversByLoad.lastKey().getLoad() +
-        " leastloaded=" + serversByLoad.lastKey().getLoad());
+        " leastloaded=" + serversByLoad.firstKey().getLoad());
       return null;
     }
     int min = numRegions / numServers;



Mime
View raw message