[
https://issues.apache.org/jira/browse/HBASE-20630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502543#comment-16502543
]
Ted Yu commented on HBASE-20630:
--------------------------------
{code}
-import static
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_PATH;
{code}
Option is no longer supported ?
{code}
+ /*DEBUG*/LOG.error("DDD "+e.getMessage());
{code}
Is it debug or error ?
{code}
+ addOptWithArg(OPTION_PATH_PURGE, OPTION_PATH_DESC);
{code}
The constant name, OPTION_PATH_DESC, doesn't reflect purging.
{code}
+ public void testBackupDeleteDateCommand() throws Exception {
{code}
Date usually means specific point in time. The test specifies number of days
which is duration.
> 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)