From 69a4eda35f0aec69b9b77864a9c4cd4e2da5fb61 Mon Sep 17 00:00:00 2001 From: Andrew Purtell Date: Mon, 15 Nov 2021 16:05:27 -0800 Subject: [PATCH] HBASE-26443 Some BaseLoadBalancer log lines should be at DEBUG level (#3838) Signed-off-by: Nick Dimiduk Signed-off-by: Viraj Jasani Signed-off-by: Xiaolin Ha --- .../apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java | 2 +- .../src/main/java/org/apache/hadoop/hbase/master/HMaster.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java b/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java index 4827e8e9904..01cb20041d8 100644 --- a/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java +++ b/hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java @@ -608,7 +608,7 @@ public abstract class BaseLoadBalancer implements LoadBalancer { }); return result; } 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)); } } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java index 98973967750..ad6969ba9ab 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java @@ -1984,7 +1984,7 @@ public class HMaster extends HBaseServerBase implements Maste } } } - 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)); return successRegionPlans; }