hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-420) Adjacent small regions should be automatically merged
Date Tue, 31 May 2011 12:01:49 GMT

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

Ferdy commented on HBASE-420:
-----------------------------

Is this not a duplicate of https://issues.apache.org/jira/browse/HBASE-1621 ?

> Adjacent small regions should be automatically merged
> -----------------------------------------------------
>
>                 Key: HBASE-420
>                 URL: https://issues.apache.org/jira/browse/HBASE-420
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver
>            Reporter: Bryan Duxbury
>            Priority: Minor
>
> Region merge functionality exists in HBase today, but merges are triggered manually (in
theory only, because there is no admin tool for doing so). Instead of relying on an admin
to note and merge regions, the Master should detect adjacent undersized regions and automatically
merge them.
> Other than the case when a table has exactly one region, region sizes should always be
between 1/2x and 1x the split size. For instance, if the max file size is 256MB, steady-state,
regions will be between 128 and 256MB. If we find two regions near each other that are less
than some threshold when summed together, they are candidates for merging. For instance, we
could set the threshold to 1/2x max file size, so if one region was 50MB and the other was
16MB, they would be mergeable. 
> The only time that regions small enough to merge should exist is when there have been
significant deletions. Otherwise, regions will always stay in the 1/2 to 1x range. 

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

Mime
View raw message