HBASE-26443 Some BaseLoadBalancer log lines should be at DEBUG level (#3839)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
Andrew Purtell 2021-11-15 16:05:53 -08:00 committed by GitHub
parent 5dd23e5b8c
commit 801f9926c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1857,7 +1857,7 @@ public class HMaster extends HRegionServer implements MasterServices {
} }
} }
} }
LOG.info("Balancer is going into sleep until next period in {}ms", getConfiguration() LOG.debug("Balancer is going into sleep until next period in {}ms", getConfiguration()
.getInt(HConstants.HBASE_BALANCER_PERIOD, HConstants.DEFAULT_HBASE_BALANCER_PERIOD)); .getInt(HConstants.HBASE_BALANCER_PERIOD, HConstants.DEFAULT_HBASE_BALANCER_PERIOD));
return successRegionPlans; return successRegionPlans;
} }

View File

@ -373,7 +373,7 @@ public abstract class BaseLoadBalancer implements LoadBalancer {
serversPerRack[i] = new int[serversPerRackList.get(i).size()]; serversPerRack[i] = new int[serversPerRackList.get(i).size()];
for (int j = 0; j < serversPerRack[i].length; j++) { for (int j = 0; j < serversPerRack[i].length; j++) {
serversPerRack[i][j] = serversPerRackList.get(i).get(j); serversPerRack[i][j] = serversPerRackList.get(i).get(j);
LOG.info("server {} is on rack {}",serversPerRackList.get(i).get(j), i); LOG.trace("server {} is on rack {}",serversPerRackList.get(i).get(j), i);
} }
} }
@ -1707,7 +1707,7 @@ public abstract class BaseLoadBalancer implements LoadBalancer {
}); });
return result; return result;
} else { } else {
LOG.info("Start Generate Balance plan for cluster."); LOG.debug("Start Generate Balance plan for cluster.");
return balanceTable(HConstants.ENSEMBLE_TABLE_NAME, toEnsumbleTableLoad(loadOfAllTable)); return balanceTable(HConstants.ENSEMBLE_TABLE_NAME, toEnsumbleTableLoad(loadOfAllTable));
} }
} }