[
https://issues.apache.org/jira/browse/HBASE-8572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200022#comment-14200022
]
Matteo Bertozzi commented on HBASE-8572:
----------------------------------------
{quote}...I then checked from shell list 't.*' it works without any exception
when checked the script it calls the deprecated method
HBaseAdmin#getTableNames(String regex).
Can we raise a new Jira to handle this ?{quote}
sure
{quote}If I am understanding correctly this means we should not abort
immediately seeing a failure, rather try the operation on all the requested
snapshot and then log it to the client.{quote}
yeah not sure what is the best behaviour. I'll let you decide.
in theory if the list displayed has only the only you allow to delete you can
say Y and in theory you don't get any access exception, but then there are the
cases where one delete may fail because a concurrent delete happened or for
that delete the master was not able to respond and so on.
so in any case, even if the list displayed contains only the allowed snapshots.
there should be some way to know which set of snapshots got deleted.
{quote}Can we raise another jira to handle this, as it wil require some testing
after HBASE-11869 gets merged in the code ?{quote}
HBASE-11869 is already in the master branch
> Enhance delete_snapshot.rb to call snapshot deletion API with regex
> -------------------------------------------------------------------
>
> Key: HBASE-8572
> URL: https://issues.apache.org/jira/browse/HBASE-8572
> Project: HBase
> Issue Type: Improvement
> Reporter: Ted Yu
> Assignee: Ashish Singhi
> Fix For: 2.0.0, 0.98.8, 0.99.3
>
> Attachments: HBASE-8572-v2.patch, HBASE-8572-v3.patch,
> HBASE-8572-v4.patch, HBASE-8572.patch
>
>
> HBASE-8461 added the API to HBaseAdmin which allows user to specify regular
> expression for deleting snapshots.
> This JIRA would allow delete_snapshot.rb to utilize this functionality.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)