hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8461) Provide the ability to delete multiple snapshots through single command
Date Wed, 15 May 2013 23:49:17 GMT

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

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

Looking at HBaseAdmin#listTables():
{code}
  public HTableDescriptor[] listTables(Pattern pattern) throws IOException {
...
    HTableDescriptor[] tables = listTables();
    for (HTableDescriptor table : tables) {
{code}
It retrieves all the tables first, without specifying Pattern.

I plan to follow the above approach for deleteSnapshot(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
>
> 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

Mime
View raw message