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

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

How about adding the following API ?
{code}
+  public List<SnapshotDescription> listSnapshots(String regex)  throws 
IOException {
{code}
This is consistent with:
{code}
  public HTableDescriptor[] listTables(String regex) throws IOException {
{code}
It is also easier for ruby script to call.

What do you think ?
                
> 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
>         Attachments: 8461-v1.txt, 8461-v2.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