You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Billy Pearson (JIRA)" <ji...@apache.org> on 2008/10/15 04:06:44 UTC

[jira] Commented: (HBASE-920) Make region balancing sloppier

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

Billy Pearson commented on HBASE-920:
-------------------------------------

+1 on the slop idea i like it makes it simple to adjust to the needs of your cluster

> Make region balancing sloppier
> ------------------------------
>
>                 Key: HBASE-920
>                 URL: https://issues.apache.org/jira/browse/HBASE-920
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.18.1
>
>         Attachments: hbase-920.patch
>
>
> The region load balancer is exacting.  Here's the logic:
> {code}
>         if (avgLoad > 2.0 && thisServersLoad.getNumberOfRegions() > avgLoad) {
>           if (LOG.isDebugEnabled()) {
>             LOG.debug("Server " + serverName + " is overloaded. Server load: " +
>               thisServersLoad.getNumberOfRegions() + " avg: " + avgLoad);
>           }
> ...
> {code}
> On a cluster of thousands of regions, especially around startup or if there's been a crash, the above makes for a bunch of churn as load balancer closes and opens nodes to achieve an exact balance (all nodes must be <= to average).
> I'd suggest that nodes should be left alone if they are within some percentage of the average -- say 10% (should be configurable).

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