[ 
https://issues.apache.org/jira/browse/HBASE-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Duxbury updated HBASE-71:
-------------------------------

    Attachment: 71.patch

Here's a first shot at a patch to change this. I'm confident that this doesn't 
work correctly. It passes unit tests, but I haven't tested it to see if it 
correctly rebalances skewed clusters. It's challenging to set up such a test, 
but I'll figure something out.

> [hbase] Master should rebalance region assignments periodically
> ---------------------------------------------------------------
>
>                 Key: HBASE-71
>                 URL: https://issues.apache.org/jira/browse/HBASE-71
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.2.0
>
>         Attachments: 71.patch
>
>
> The master currently only does region assignments at startup or when there 
> are splits or dead regionservers. This means that if you join a new 
> regionserver to the cluster after startup, it does not get assigned a fair 
> share of the already-served regions as you would expect. It only gets a share 
> of new regions being served.
> The master should periodically check the balance of regions, based on 
> whatever assignment function, instead of in reaction to the above listed 
> events.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to