[
https://issues.apache.org/jira/browse/HBASE-7354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541064#comment-13541064
]
Matteo Bertozzi commented on HBASE-7354:
----------------------------------------
The tool gives you an idea of what is in the snapshot, and if the snapshot is
valid.
.snapshotinfo dump, files dump and an idea of how many are in archive (extra
space) and how many are shared with the table...
{code}
$ hbase org.apache.hadoop.hbase.snapshot.SnapshotInfo -snapshot test-snapshot
-files
Snapshot Info
----------------------------------------
Name: test-snapshot
Type: DISABLED
Table: test-table
Version: 0
Created: 2012-12-30T11:21:21
Snapshot Files
----------------------------------------
52.4k
test-table/02ba3a0f8964669520cf96bb4e314c60/cf/bdf29c39da2a4f2b81889eb4f7b18107
(archive)
52.4k
test-table/02ba3a0f8964669520cf96bb4e314c60/cf/1e06029d0a2a4a709051b417aec88291
(archive)
86.8k
test-table/02ba3a0f8964669520cf96bb4e314c60/cf/506f601e14dc4c74a058be5843b99577
(archive)
52.4k
test-table/02ba3a0f8964669520cf96bb4e314c60/cf/5c7f6916ab724eacbcea218a713941c4
(archive)
293.4k
test-table/02ba3a0f8964669520cf96bb4e314c60/cf/aec5e33a6564441d9bd423e31fc93abb
(archive)
52.4k
test-table/02ba3a0f8964669520cf96bb4e314c60/cf/97782b2fbf0743edaacd8fef06ba51e4
(archive)
6 HFiles (6 in archive), total size 589.7k (0.00% 0.0 shared with the source
table)
0 Logs, total size 0.0
{code}
{quote}
The storefile case had if with two branches – this logfile link doesn't need to
do this?
{quote}
I've skipped this one, because I think that in 90% of the cases logs are in the
archive.
> Snapshot Info/Debug Tool
> ------------------------
>
> Key: HBASE-7354
> URL: https://issues.apache.org/jira/browse/HBASE-7354
> Project: HBase
> Issue Type: Sub-task
> Components: Client, master, regionserver, snapshots, Zookeeper
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Priority: Minor
> Fix For: hbase-6055, 0.96.0
>
> Attachments: HBASE-7354-v0.patch
>
>
> Tool that show snapshot metadata, hfiles and logs retained.
--
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