[
https://issues.apache.org/jira/browse/HBASE-6720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449889#comment-13449889
]
Ted Yu commented on HBASE-6720:
-------------------------------
We already have cutoff time for region balancing:
{code}
rpCount++;
if (rpCount < plans.size() &&
// if performing next balance exceeds cutoff time, exit the loop
(System.currentTimeMillis() + (totalRegPlanExecTime / rpCount)) >
cutoffTime) {
LOG.debug("No more balancing till next balance run;
maximumBalanceTime=" +
maximumBalanceTime);
break;
}
{code}
Is the above not enough ?
> Optionally limit number of regions balanced in each balancer run
> ----------------------------------------------------------------
>
> Key: HBASE-6720
> URL: https://issues.apache.org/jira/browse/HBASE-6720
> Project: HBase
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Fix For: 0.96.0, 0.94.3
>
> Attachments: 6720-0.96-v1.txt
>
>
> See discussion on HBASE-3866
--
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