HBASE-20701 too much logging when balancer runs from BaseLoadBalancer
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
6fa9f0bea9
commit
4936750d3a
|
@ -1023,8 +1023,11 @@ public abstract class BaseLoadBalancer implements LoadBalancer {
|
|||
}
|
||||
}
|
||||
if (leastLoadedServerIndex != -1) {
|
||||
LOG.debug("Pick the least loaded server " + servers[leastLoadedServerIndex].getHostname()
|
||||
+ " with better locality for region " + regions[region]);
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace(
|
||||
"Pick the least loaded server " + servers[leastLoadedServerIndex].getHostname()
|
||||
+ " with better locality for region " + regions[region]);
|
||||
}
|
||||
}
|
||||
return leastLoadedServerIndex;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue