incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1183038 - /incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
Date Thu, 13 Oct 2011 19:15:36 GMT
Author: ecn
Date: Thu Oct 13 19:15:36 2011
New Revision: 1183038

URL: http://svn.apache.org/viewvc?rev=1183038&view=rev
Log:
ACCUMULO-33: fix logic bug that prevented a custom load balancer from getting loaded

Modified:
    incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java

Modified: incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java?rev=1183038&r1=1183037&r2=1183038&view=diff
==============================================================================
--- incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
(original)
+++ incubator/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
Thu Oct 13 19:15:36 2011
@@ -72,7 +72,7 @@ public class TableLoadBalancer extends T
                 log.warn("Failed to load table balancer class ", e);
             }
 
-            if (balancer == null || !balancer.getClass().equals(DefaultLoadBalancer.class))
{
+            if (balancer == null) {
                 log.info("Using balancer " + DefaultLoadBalancer.class.getName() + " for
table "+table);
                 balancer = new DefaultLoadBalancer(table);
             }



Mime
View raw message