From de98fee288814c2b62666acda1fb538dd69cbc82 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 3f3e642e759..9709fb550d9 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 @@ -207,7 +207,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); @@ -239,7 +239,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); @@ -278,7 +278,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); @@ -340,7 +340,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); @@ -379,7 +379,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);