virajjasani commented on a change in pull request #1465: HBASE-24151 The master
server aborted for IllegalThreadStateException
URL: https://github.com/apache/hbase/pull/1465#discussion_r406331300
##########
File path:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java
##########
@@ -356,6 +357,10 @@ 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())) {
+ LOG.warn("The internal balancer of RSGroupBasedLoadBalancer cannot be
itself, falling back to the default LoadBalancer class");
Review comment:
line len > 100 chars
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services