[ https://issues.apache.org/jira/browse/HBASE-10576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980481#comment-13980481 ]
stack commented on HBASE-10576: ------------------------------- Do we have to go the route of special-casing 'shadow-regions'. The LB is responsible for assignments. Assignment policy belongs in the LB. The LB is meant to allow new factors balancing. Special-casing assignments per new feature will fast become unmaintainable IMO. Related story: Jimmy Xiang just made it so Master and Backup Masters are also RegionServers. In the code, spread all about -- in the LB but also on region open, etc. -- there was special-casing such that if a backup master, then only carry a few regions (configurable). Jimmy just did the work to move this work all up into the LB. Now it is in one place only. > Custom load balancer to co-locate the regions of two tables which are having > same split keys > -------------------------------------------------------------------------------------------- > > Key: HBASE-10576 > URL: https://issues.apache.org/jira/browse/HBASE-10576 > Project: HBase > Issue Type: Sub-task > Components: Balancer > Reporter: rajeshbabu > Assignee: rajeshbabu > Attachments: HBASE-10536_v2.patch, HBASE-10576.patch > > > To support local indexing both user table and index table should have same > split keys. This issue to provide custom balancer to colocate the regions of > two tables which are having same split keys. > This helps in Phoenix as well. -- This message was sent by Atlassian JIRA (v6.2#6252)