[
https://issues.apache.org/jira/browse/HBASE-10309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868224#comment-13868224
]
Lars Hofhansl commented on HBASE-10309:
---------------------------------------
Is not simpler to remove an empty region? The equivalent of removing the
directory from HDFS and fix META the way HBCK does?
This part of the code is not my area of expertise so I might way off, but it
seems it should easier than actually merging regions with data.
> 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)