hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10309) Add support to delete empty regions in 0.94.x series
Date Fri, 10 Jan 2014 19:00:51 GMT

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

stack commented on HBASE-10309:

Removing a single empty region is not possible without region merge facility.  If multiple
adjacent empty regions, you could replace them all with a single empty region that spans the
deleted regions easy enough.

> Add support to delete empty regions in 0.94.x series
> ----------------------------------------------------
>                 Key: HBASE-10309
>                 URL: https://issues.apache.org/jira/browse/HBASE-10309
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: AcCud
>             Fix For: 0.94.16
> My use case: I have several tables where keys start with a timestamp. Because of this
and combined with the fact that I have set a 15 days retention period, after a period of time
results empty regions.
> I am sure that no write will occur in these region.
> It would be nice to have a tool to delete regions without being necessary to stop the
> The easiest way for me is to have a tool that is able to delete all empty regions, but
there wouldn't be any problem to specify which region to delete.
> Something like:
> deleteRegion <tableName> <region>

This message was sent by Atlassian JIRA

View raw message