[
https://issues.apache.org/jira/browse/HBASE-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448647#comment-13448647
]
Aravind Gottipati commented on HBASE-3866:
------------------------------------------
I will defer to you folks regarding including this script with the
distribution. Stack's suggestion of closing the JIRA is a fine one, like he
said - this would leave the script here for others to use.
I would however like to note a few things.
1. The script attached here is outdated. A newer version of the script that
worked with 0.92 is here
(https://github.com/aravind/hbase-utils/blob/master/region_mover.rb). I
haven't been keeping up with the latest, so there is a very good chance, it
might not work with versions after 0.92.
2. The script is pretty inefficient in how it moves and balances regions. It
maintains an internal hashmap (two of them even) of the servers -> number of
regions, to keep the region count balanced.
3. It is as portable as the original region mover script, since it re-uses most
of the same mechanisms.
> 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: 3866-max-regions-per-iteration.patch, 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira