You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2011/05/07 15:32:03 UTC
[jira] [Commented] (HBASE-3866) Script to add regions gradually to
a new regionserver.
[ https://issues.apache.org/jira/browse/HBASE-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030351#comment-13030351 ]
Ted Yu commented on HBASE-3866:
-------------------------------
There may be many regions to be moved onto the newly added region server. The script would take some time to execute.
I think balance_switch should be called at the beginning of the script to turn off load balancer. At the end, balancer should be re-enabled.
It may be desirable to introduce a configurable delay after move() returns (line 287).
> Script to add regions gradually to a new regionserver.
> ------------------------------------------------------
>
> Key: HBASE-3866
> URL: https://issues.apache.org/jira/browse/HBASE-3866
> Project: HBase
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.90.2
> Reporter: Aravind Gottipati
> Priority: Minor
> Attachments: slow_balancer.rb, slow_balancer.rb
>
>
> When a new region server is brought online, the current balancer kicks off a whole bunch of region moves and causes a lot of regions to be un-available right away. A slower balancer that gradually balances the cluster is probably a good script to have. I have an initial version that mooches off the region_mover script to do this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira