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

Andrew Purtell commented on HBASE-10309:
----------------------------------------

Or you could create your keys based on a modulus of the timestamp? Could work 
if you can put an upper bound on the number of records stored within the 
retention period, call it N, then key = (timestamp mod N) ... 

> 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 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)

Reply via email to