Skip to content

Commit

Permalink
HBASE-22702 [Log] 'Group not found for table' is chatty
Browse files Browse the repository at this point in the history
Signed-off-by Reid Chan <reidchan@apache.org>
  • Loading branch information
murtazahassan123 authored and Reidddddd committed Jul 25, 2019
1 parent b83d0c0 commit de98fee
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public Map<ServerName, List<RegionInfo>> retainAssignment(
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);
Expand Down Expand Up @@ -239,7 +239,7 @@ public Map<ServerName, List<RegionInfo>> retainAssignment(
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);
Expand Down Expand Up @@ -278,7 +278,7 @@ private void generateGroupMaps(
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);
Expand Down Expand Up @@ -340,7 +340,7 @@ public Set<RegionInfo> getMisplacedRegions(
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);
Expand Down Expand Up @@ -379,7 +379,7 @@ private Pair<Map<ServerName, List<RegionInfo>>, List<RegionPlan>> correctAssignm
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);
Expand Down

0 comments on commit de98fee

Please sign in to comment.