From 141ccc4fd2062274f3fdb8c9fec59c5343fcec06 Mon Sep 17 00:00:00 2001 From: syedmurtazahassan Date: Thu, 25 Jul 2019 17:13:40 +0200 Subject: [PATCH] HBASE-22702 [Log] 'Group not found for table' is chatty Signed-off-by Reid Chan --- .../hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java index 8b40d25998b..60296dcacd5 100644 --- a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java +++ b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java @@ -197,7 +197,7 @@ public class RSGroupBasedLoadBalancer implements RSGroupableBalancer { if (!misplacedRegions.contains(region)) { String groupName = rsGroupInfoManager.getRSGroupOfTable(region.getTable()); if (groupName == null) { - LOG.info("Group not found for table " + region.getTable() + ", using default"); + LOG.debug("Group not found for table " + region.getTable() + ", using default"); groupName = RSGroupInfo.DEFAULT_GROUP; } groupToRegion.put(groupName, region); @@ -232,7 +232,7 @@ public class RSGroupBasedLoadBalancer implements RSGroupableBalancer { for (RegionInfo region : misplacedRegions) { String groupName = rsGroupInfoManager.getRSGroupOfTable(region.getTable()); if (groupName == null) { - LOG.info("Group not found for table " + region.getTable() + ", using default"); + LOG.debug("Group not found for table " + region.getTable() + ", using default"); groupName = RSGroupInfo.DEFAULT_GROUP; } RSGroupInfo info = rsGroupInfoManager.getRSGroup(groupName); @@ -277,7 +277,7 @@ public class RSGroupBasedLoadBalancer implements RSGroupableBalancer { for (RegionInfo region : regions) { String groupName = rsGroupInfoManager.getRSGroupOfTable(region.getTable()); if (groupName == null) { - LOG.info("Group not found for table " + region.getTable() + ", using default"); + LOG.debug("Group not found for table " + region.getTable() + ", using default"); groupName = RSGroupInfo.DEFAULT_GROUP; } regionMap.put(groupName, region); @@ -339,7 +339,7 @@ public class RSGroupBasedLoadBalancer implements RSGroupableBalancer { ServerName assignedServer = region.getValue(); String groupName = rsGroupInfoManager.getRSGroupOfTable(regionInfo.getTable()); if (groupName == null) { - LOG.info("Group not found for table " + regionInfo.getTable() + ", using default"); + LOG.debug("Group not found for table " + regionInfo.getTable() + ", using default"); groupName = RSGroupInfo.DEFAULT_GROUP; } RSGroupInfo info = rsGroupInfoManager.getRSGroup(groupName); @@ -389,7 +389,7 @@ public class RSGroupBasedLoadBalancer implements RSGroupableBalancer { try { String groupName = rsGroupInfoManager.getRSGroupOfTable(region.getTable()); if (groupName == null) { - LOG.info("Group not found for table " + region.getTable() + ", using default"); + LOG.debug("Group not found for table " + region.getTable() + ", using default"); groupName = RSGroupInfo.DEFAULT_GROUP; } targetRSGInfo = rsGroupInfoManager.getRSGroup(groupName);