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

Ted Yu commented on HBASE-8461:
-------------------------------

There was existing API deleteTables() which accepts regex:
{code}
  public HTableDescriptor[] deleteTables(String regex) throws IOException {
    return deleteTables(Pattern.compile(regex));
  }
{code}
I don't see user given a chance for confirmation w.r.t. the above API.

list.rb calls admin.list(regex) which accepts regex.
                
> Provide the ability to delete multiple snapshots through single command
> -----------------------------------------------------------------------
>
>                 Key: HBASE-8461
>                 URL: https://issues.apache.org/jira/browse/HBASE-8461
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.0, 0.95.1
>
>         Attachments: 8461-v1.txt, 8461-v2.txt, 8461-v3.txt, 8461-v4.txt
>
>
> Currently HBaseAdmin#deleteSnapshot() accepts name of single snapshot.
> It is desirable to allow user to delete multiple snapshots by issuing one 
> command.
> e.g. user may use regular expression to specify the names of snapshots to 
> delete.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to