[ https://issues.apache.org/jira/browse/HBASE-11618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matteo Bertozzi resolved HBASE-11618. ------------------------------------- Resolution: Invalid please post on the user@ list. the first problem is that you have some setup issue, you should be able to use $ hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot without any extra class path to specify. otherwise you end up like in this case with the configuration missing and you are using the default /tmp/hbase location instead of your hbase.rootdir > CorruptedSnapshotException when running ExportSnapshot > ------------------------------------------------------ > > Key: HBASE-11618 > URL: https://issues.apache.org/jira/browse/HBASE-11618 > Project: HBase > Issue Type: Bug > Environment: hadoop jar 2.4.0.2.1.2.1-471 > hbase jar hbase-common-0.98.0.2.1.2.1-471-hadoop2 > yarn > CentOS release 6.5 (Final) > Reporter: William Watson > > After much digging, I finally figured out how to get the classpaths just > right to run the ExportSnapshot command: > {code} > /usr/bin/hbase -classpath '/usr/lib/hbase/lib/*:/usr/lib/hadoop/client/*' > org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot > 'myTable_hbaseSnapshot_20140730' -copy-to hdfs://10.0.1.21:8020/hbase > -mappers 4 > {code} > only to run into the following error: > {code} > Exception in thread "main" > org.apache.hadoop.hbase.snapshot.CorruptedSnapshotException: Couldn't read > snapshot info > from:hdfs://ip-10-0-1-31.ec2.internal:8020/tmp/hbase-hbase/hbase/.hbase-snapshot/myTable_hbaseSnapshot_20140730/.snapshotinfo > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)