You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/02/13 01:11:13 UTC

[jira] Commented: (HBASE-71) [hbase] Master should rebalance region assignments periodically

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

Bryan Duxbury commented on HBASE-71:
------------------------------------

Speaking with a colleague, instead of rebalancing periodically, maybe we should just enqueue a rebalancing to occur whenever any event occurs that could introduce an imbalance.  I'm thinking:

 * Whole cluster comes online
 * Region server comes online
 * Region server goes offline
 * Region splits
 * Region merges (for the future...)
 
This would allow us to only selectively reassign regions. Are there any other events that should be tracked that would require us to rebalance?


> [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
>             Fix For: 0.2.0
>
>
> 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.