Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61C40D145 for ; Thu, 16 May 2013 14:49:17 +0000 (UTC) Received: (qmail 25313 invoked by uid 500); 16 May 2013 14:49:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 25279 invoked by uid 500); 16 May 2013 14:49:16 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 25257 invoked by uid 99); 16 May 2013 14:49:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 14:49:16 +0000 Date: Thu, 16 May 2013 14:49:16 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8461) Provide the ability to delete multiple snapshots through single command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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