accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1337149 - /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
Date Fri, 11 May 2012 13:27:34 GMT
Author: kturner
Date: Fri May 11 13:27:33 2012
New Revision: 1337149

URL: http://svn.apache.org/viewvc?rev=1337149&view=rev
Log:
ACCUMULO-590 fixed NPE in Table load balancer

Modified:
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java?rev=1337149&r1=1337148&r2=1337149&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
(original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/balancer/TableLoadBalancer.java
Fri May 11 13:27:33 2012
@@ -70,6 +70,7 @@ public class TableLoadBalancer extends T
           if (newBalancer != null) {
             balancer = newBalancer;
             perTableBalancers.put(table, balancer);
+            balancer.init(configuration);
           }
         } catch (Exception e) {
           log.warn("Failed to load table balancer class ", e);
@@ -89,6 +90,7 @@ public class TableLoadBalancer extends T
         balancer = new DefaultLoadBalancer(table);
       }
       perTableBalancers.put(table, balancer);
+      balancer.init(configuration);
     }
     return balancer;
   }



Mime
View raw message