Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - directly export hbase snapshots to local fs

Copy link to this message
directly export hbase snapshots to local fs
oc tsdb 2013-12-12, 16:12

We are using HBase 0.94.14 and have only one cluster with 1NN and 4 DNs.

We are trying to export snapshot directly to local system(e.g local fs
path: /tmp/hbase_backup) as specified below.It is just exporting/copying
snapshots (.hbase-snapshot) but not actual data(.archive).Why the below
command is not copying actual data?

 hbase org.apache.hadoop.hbase.snapshot.ExportSnapshot -snapshot
 hbase_tbl_snapshot_name -copy-to   file:///tmp/hbase_backup -mappers 16;
It is always first need to export to HDFS and then copy to local file
system using hadoop get command?

Thanks in advance.