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-4194) RegionSplitter: Split on low-loaded regions first
Date Fri, 12 Aug 2011 02:35:27 GMT

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

Ted Yu commented on HBASE-4194:

+1 on the patch.
I wonder if we can disable load balancer when RegionSplitter runs.

> RegionSplitter: Split on low-loaded regions first
> -------------------------------------------------
>                 Key: HBASE-4194
>                 URL: https://issues.apache.org/jira/browse/HBASE-4194
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Trivial
>             Fix For: 0.92.0
>         Attachments: HBASE-4194.patch
> When running RegionSplitter, our app devs noticed that they were getting a lot of NSREs.
 This is caused by 2 factors: 
> 1. the split itself will cause an NSRE 
> 2. any load balancing will cause one.  
> The former cannot be helped.  We can more tightly control load balancing though.  Instead
of doing a name-sorted round-robin split across RS in the tier, we could sorted the RS by
region count.  That way, we only split an RS with 10 regions after there are no more RS with
9 regions.  This will prevent the load balancing slop from kicking in and will fix the problem
where restarting RegionSplitter always starts splitting at RS #1.

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


View raw message