hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10309) Add support to delete empty regions in 0.94.x series
Date Thu, 06 Feb 2014 18:44:16 GMT

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

Jonathan Hsieh commented on HBASE-10309:
----------------------------------------

That could work, but I"m a wary of using hbck for this purpose regularly. 

The command would be
hbck -repairHoles

I prefer stack's use merge approach but this isn't available in 0.94.

> 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.17
>
>
> 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
cluster.
> 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
(v6.1.5#6160)

Mime
View raw message