You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2014/05/11 00:13:24 UTC
[jira] [Updated] (HBASE-11134) Add a -list-snapshots option to
SnapshotInfo
[ https://issues.apache.org/jira/browse/HBASE-11134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matteo Bertozzi updated HBASE-11134:
------------------------------------
Attachment: HBASE-11134-v1.patch
> Add a -list-snapshots option to SnapshotInfo
> --------------------------------------------
>
> Key: HBASE-11134
> URL: https://issues.apache.org/jira/browse/HBASE-11134
> Project: HBase
> Issue Type: Improvement
> Components: snapshots
> Affects Versions: 0.99.0
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Priority: Trivial
> Fix For: 0.99.0, 0.96.3, 0.94.20, 0.98.3
>
> Attachments: HBASE-11134-v0.patch, HBASE-11134-v1.patch
>
>
> Add a -list-snapshots option to SnapshotInfo to show all the snapshots available. Also add a -remote-dir option to simplify the usage of SnapshotInfo in case the snapshot dir is not the one of the current hbase cluster
> {code}
> $ hbase org.apache.hadoop.hbase.snapshot.SnapshotInfo -list-snapshots
> SNAPSHOT | CREATION TIME | TABLE NAME
> foo | 2014-05-07T22:40:13 | testtb
> bar | 2014-05-07T22:40:16 | testtb
> $ hbase org.apache.hadoop.hbase.snapshot.SnapshotInfo -remote-dir file:///backup/ -snapshot my_local_snapshot
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)