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 19:52:10 GMT

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

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

My main concern is doing this safely and in a simple way -- hbck repairs stuff is mostly for
after problems occur when we are already messed up.  Purposely "breaking" things and then
using hbck is just risky.  We could outline steps on how to do this but it requires some expertise
in case something bad happens.


> 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