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_r408686968
########## 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: `this.getClass().isAssignableFrom(balancerKlass)` this is what we can check here to stay consistent with master branch. ---------------------------------------------------------------- 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