[ https://issues.apache.org/jira/browse/HBASE-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643472#comment-13643472 ]
Ted Yu commented on HBASE-6721: ------------------------------- Looks like MetaScanner.allTableRegions() returned a map where some entry has null ServerName. There is no null check: {code} ServerName serverName = HRegionInfo.getServerName(rowResult); regions.put(new UnmodifyableHRegionInfo(info), serverName); {code} After adding null check in GroupAdminEndpoint#moveTables : {code} for (Map.Entry<HRegionInfo, ServerName> entry: regionMap.entrySet()) { if (entry.getValue() == null) continue; {code} TestRegionServerGroups#testTableMoveAndDrop passed reliably. > RegionServer Group based Assignment > ----------------------------------- > > Key: HBASE-6721 > URL: https://issues.apache.org/jira/browse/HBASE-6721 > Project: HBase > Issue Type: New Feature > Reporter: Francis Liu > Assignee: Vandana Ayyalasomayajula > Fix For: 0.95.1 > > Attachments: 6721-master-webUI.patch, HBASE-6721_8.patch, > HBASE-6721_94_2.patch, HBASE-6721_94_3.patch, HBASE-6721_94_3.patch, > HBASE-6721_94_4.patch, HBASE-6721_94_5.patch, HBASE-6721_94_6.patch, > HBASE-6721_94_7.patch, HBASE-6721_94.patch, HBASE-6721_94.patch, > HBASE-6721_9.patch, HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, > HBASE-6721-DesigDoc.pdf, HBASE-6721-DesigDoc.pdf, HBASE-6721_trunk.patch, > HBASE-6721_trunk.patch, HBASE-6721_trunk.patch > > > In multi-tenant deployments of HBase, it is likely that a RegionServer will > be serving out regions from a number of different tables owned by various > client applications. Being able to group a subset of running RegionServers > and assign specific tables to it, provides a client application a level of > isolation and resource allocation. > The proposal essentially is to have an AssignmentManager which is aware of > RegionServer groups and assigns tables to region servers based on groupings. > Load balancing will occur on a per group basis as well. > This is essentially a simplification of the approach taken in HBASE-4120. See > attached document. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira