0

I have created a snapshot of a table in Hbase and exported it using hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot -copy-to Now I have deleted the snapshot from Hbase. How can I import the snapshot from HDFS back to Hbase.

Midhun Mathew Sunny
  • 1,271
  • 4
  • 17
  • 30

1 Answers1

1

hadoop fs -put hdfs:///pathNameWhereSnapshotWasPutInitially /hbase/data/default/tablename/cde4801e4c115003ef51e50f5ef23041/1/

where cde4801e4c115003ef51e50f5ef23041 is subjected to change.

user3123372
  • 704
  • 1
  • 10
  • 26