virajjasani commented on a change in pull request #1507: HBASE-24151 The master 
server aborted for IllegalThreadStateException
URL: https://github.com/apache/hbase/pull/1507#discussion_r408890051
 
 

 ##########
 File path: 
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java
 ##########
 @@ -356,6 +357,11 @@ public void initialize() throws HBaseIOException {
     // Create the balancer
     Class<? extends LoadBalancer> balancerKlass = 
config.getClass(HBASE_RSGROUP_LOADBALANCER_CLASS,
         StochasticLoadBalancer.class, LoadBalancer.class);
+    if (balancerKlass.equals(this.getClass())) {
 
 Review comment:
   Thanks @Gkkkk302
   Once you are done with this change, will merge this for all branch-2s.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to