hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clint Heath (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10003) OnlineMerge should be extended to allow bulk merging
Date Tue, 19 Nov 2013 20:33:21 GMT

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

Clint Heath commented on HBASE-10003:
-------------------------------------

Just to clarify, I think the preferred mechanism to deliver this functionality would be through
the HBase shell, but if it's easier through the Java command-line tool, I'm sure that would
work too.

> OnlineMerge should be extended to allow bulk merging
> ----------------------------------------------------
>
>                 Key: HBASE-10003
>                 URL: https://issues.apache.org/jira/browse/HBASE-10003
>             Project: HBase
>          Issue Type: Improvement
>          Components: Admin
>    Affects Versions: 0.98.0, 0.94.6
>            Reporter: Clint Heath
>
> Now that we have Online Merge capabilities, the function of that tool should be extended
to make it much easier for HBase operations folks to use.  Currently it is a very manual process
(one fraught with confusion) to hand pick two regions that are contiguous to each other in
the META table such that the admin can manually request those two regions to be merged.
> In the real world, when admins find themselves wanting to merge regions, it's usually
because they've greatly increased their hbase.hregion.max.filesize property and they have
way too many regions on a table and want to reduce the region count for that entire table
quickly and easily.
> Why can't the OnlineMerge command just take a "-max" argument along with a table name
which tells it to go ahead and merge all regions of said table until the resulting regions
are all of max size?  This takes the voodoo out of the process and quickly gets the admin
what they're looking for.
> As part of this improvement, I also suggest a "-regioncount" argument for OnlineMerge,
which will attempt to reduce the table's region count down to the specified #.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message