[ 
https://issues.apache.org/jira/browse/HBASE-6143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719201#comment-13719201
 ] 

Lars Hofhansl commented on HBASE-6143:
--------------------------------------

v2 *could* work. The code path for assignment after enabling is now quite 
different, though.

Might still be better to call {{AssignmentManager.assign(Map<HRegionInfo, 
ServerName> regions)}} {{BulkEnabler.populatePool}}, I think we can build the 
map ahead of time.

This is the same call used by AssignmentManager.joinCluster(), so we'd use the 
same code.
                
> Make region assignment smarter when regions are re-enabled.
> -----------------------------------------------------------
>
>                 Key: HBASE-6143
>                 URL: https://issues.apache.org/jira/browse/HBASE-6143
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Elliott Clark
>            Assignee: Ted Yu
>         Attachments: 6143-v1.txt, 6143-v2.txt
>
>
> Right now a random region server is picked when re-enabling a table. This 
> could be much smarter.

--
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

Reply via email to