William Watson created HBASE-11618:
--------------------------------------

             Summary: 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)

Reply via email to