hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3681) Check the sloppiness of the region load before balancing
Date Tue, 22 Mar 2011 01:52:05 GMT

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

Ted Yu commented on HBASE-3681:
-------------------------------

I plan to put in this change:
{code}
    min = (int) Math.floor(average * (1 - slop)) - 1;
    max = (int) Math.ceil(average * (1 + slop));
{code}


> Check the sloppiness of the region load before balancing
> --------------------------------------------------------
>
>                 Key: HBASE-3681
>                 URL: https://issues.apache.org/jira/browse/HBASE-3681
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.1
>            Reporter: Jean-Daniel Cryans
>            Assignee: Ted Yu
>             Fix For: 0.92.0
>
>
> Per our discussion at the hackathon today, it seems that it would be more helpful to
add a sloppiness check before doing the normal balancing.
> The current situation is that the balancer always tries to get the region load even,
meaning that there can be some very frequent regions movement.
> Setting the balancer to run less often (like every 4 hours) isn't much better since the
load could get out of whack easily.
> This is why running the normal balancer frequently, but first checking for some sloppiness
in the region load across the RS, seems like a more viable option.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message