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

Ted Yu commented on HBASE-20630:
--------------------------------

{code}
+    // Purge all backups which are older than 0 days
+    // Must return 1 deleted backup
+    args = new String[] { "delete", "-p", "0" };
{code}
This is a somehow strange setting - 0 days.

If the deletion is for freeing up space, I doubt anybody would specify such 
number to this command.

> B&R: Delete command enhancements
> --------------------------------
>
>                 Key: HBASE-20630
>                 URL: https://issues.apache.org/jira/browse/HBASE-20630
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>            Priority: Major
>         Attachments: HBASE-20630-v1.patch
>
>
> Make the command more useable. Currently, user needs to provide list of 
> backup ids to delete. It would be nice to have more convenient options, such 
> as: deleting all backups which are older than XXX days, etc 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to