hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangduo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12451) IncreasingToUpperBoundRegionSplitPolicy may cause unnecessary region splits in rolling update of cluster
Date Tue, 11 Nov 2014 07:30:33 GMT

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

zhangduo commented on HBASE-12451:
----------------------------------

{quote}
the regions should be evenly spread across RS(8 RS in that case)
{quote}
But there are exceptions, see the description of this issue...

And I made a mistake above. Just use total region count of table is not enough, we also need
the total regionserver count as a parameter. 240 regions is not necessary for 8 regionservers,
but is OK for 80 regionservers, right?

> IncreasingToUpperBoundRegionSplitPolicy may cause unnecessary region splits in rolling
update of cluster
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12451
>                 URL: https://issues.apache.org/jira/browse/HBASE-12451
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Currently IncreasingToUpperBoundRegionSplitPolicy is the default region split policy.
In this policy, split size is the number of regions that are on this server that all are of
the same table, cubed, times 2x the region flush size.
> But when unloading regions of a regionserver in a cluster using region_mover.rb, the
number of regions that are on this server that all are of the same table will decrease, and
the split size will decrease too, which may cause the left region split in the regionsever.
Region Splits also happens when loading regions of a regionserver in a cluster. 
> A improvment may set a minimum split size in IncreasingToUpperBoundRegionSplitPolicy
> Suggestions are welcomed. Thanks~



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message