Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
Observed the following in rs group test output:
2018-01-10 14:17:23,006 DEBUG [AssignmentThread] rsgroup.RSGroupBasedLoadBalancer(316): Found misplaced region: hbase:acl,,1515593841277.ecf47ecb7522d7fab40db0a237f973fd. on server: localhost,1,1 found in group: null outside of group: UNKNOWN
Here is corresponding code:
if (assignedServer != null && (info == null || !info.containsServer(assignedServer.getAddress()))) { RSGroupInfo otherInfo = null; otherInfo = rsGroupInfoManager.getRSGroupOfServer(assignedServer.getAddress()); LOG.debug("Found misplaced region: " + regionInfo.getRegionNameAsString() +
As you can see, both info and otherInfo were null.
In this case, the region should not be placed in misplacedRegions.