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

Ted Yu commented on HBASE-3609:
-------------------------------

Empty server can be detected within balanceCluster(). But this detection has 
been performed by Master, hence the flag.

The static regionId helps make each region Id unique. I actually utilized this 
fact to debug my code.

Let me think more about writing unit test(s) that verifies the distribution 
over underloaded servers.

Both TestLoadBalancer and TestAdmin pass.

Preliminary response from Stan Barton showed improvement over random selector.
I am waiting for further feedback from gaojinc...@huawei.com and Stan.

> Improve the selection of regions to balance; part 2
> ---------------------------------------------------
>
>                 Key: HBASE-3609
>                 URL: https://issues.apache.org/jira/browse/HBASE-3609
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: Ted Yu
>         Attachments: 3609-double-alternation.txt, 3609-empty-RS.txt, 
> hbase-3609-by-region-age.txt, hbase-3609.txt
>
>
> See 'HBASE-3586  Improve the selection of regions to balance' for discussion 
> of algorithms that improve on current random assignment.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to