hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8642) [Snapshot] List and delete snapshot by table
Date Thu, 25 Jun 2015 05:43:05 GMT

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

Ashish Singhi commented on HBASE-8642:
--------------------------------------

{quote}
-1 lineLengths. The patch introduces the following lines longer than 100:
 + puts "No snapshots matched the table name regular expression #
{tableNameregex.to_s} 
and the snapshot name regular expression #
{snapshotNameRegex.to_s} 
" if count == 0
 + puts "#
{successfullyDeleted} 
snapshots successfully deleted." unless successfullyDeleted == 0
{quote}
This is related to ruby script. I think we don't fix lineLengths warning for ruby files. Correct
if I am wrong ? I tried formatting but the output on the console doesn't looks good.

> [Snapshot] List and delete snapshot by table
> --------------------------------------------
>
>                 Key: HBASE-8642
>                 URL: https://issues.apache.org/jira/browse/HBASE-8642
>             Project: HBase
>          Issue Type: Improvement
>          Components: snapshots
>    Affects Versions: 0.98.0, 0.95.0, 0.95.1, 0.95.2
>            Reporter: Julian Zhou
>            Assignee: Ashish Singhi
>             Fix For: 2.0.0
>
>         Attachments: 8642-trunk-0.95-v0.patch, 8642-trunk-0.95-v1.patch, 8642-trunk-0.95-v2.patch,
HBASE-8642.patch
>
>
> Support list and delete snapshots by table names.
> User scenario:
> A user wants to delete all the snapshots which were taken in January month for a table
't' where snapshot names starts with 'Jan'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message