[
https://issues.apache.org/jira/browse/HBASE-7932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj Das updated HBASE-7932:
-------------------------------
Attachment: 7932-simple-2.patch
This is a much simplified approach (I think). I think this is a less intrusive
approach as well. At a high level, the FavoredNodeLoadBalancer (new class
introduced) does the necessary selection of the Primary, Secondary and Tertiary
RSs, and updates the META table with that information (this is done in the
roundRobinAssignment method called by the AssignmentManager). The RegionServers
in question then read the META table and figures out the three favored nodes
for their regions (in HBASE-7942, I'll implement the FileSystem operations to
take into account these favored nodes). That's it. I will need to implement the
others methods in FavoredNodeLoadBalancer but I haven't done that yet. Want to
get a consensus on the approach. I have to cleanup the patch (and maybe move
some functionality from the new balancer class to a helper class or something,
but the crux of the patch is there).
> Do the necessary plumbing for the region locations in META table and send the
> info to the RegionServers
> -------------------------------------------------------------------------------------------------------
>
> Key: HBASE-7932
> URL: https://issues.apache.org/jira/browse/HBASE-7932
> Project: HBase
> Issue Type: Sub-task
> Reporter: Devaraj Das
> Assignee: Devaraj Das
> Priority: Critical
> Fix For: 0.95.1
>
> Attachments: 7932-1.patch, 7932-3.patch, 7932-8.1.patch,
> 7932-8.patch, 7932-simple-2.patch, 7932-wip-2.patch, 7932-wip-3.patch,
> 7932-wip-4.patch, 7932-wip.patch
>
>
--
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