chenxu14 commented on a change in pull request #831: HBASE-23297 [RSGROUP]
build RegionPlan per group not per table
URL: https://github.com/apache/hbase/pull/831#discussion_r347123564
##########
File path:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java
##########
@@ -607,6 +613,22 @@ public void removeServers(Set<Address> servers) throws
IOException {
return result;
}
+ private Map<ServerName, List<RegionInfo>> getAssignmentsByGroup(String
groupName)
Review comment:
Now balanceRSGroup will perform load balancing of group server dimensions.
Suppose we have two groups(groupA and groupB), if tableA's region mis-placed
on groupB, we can execute balanceRSGroup(GroupB) to move it back to the right
place. @guangxuCheng
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services