Hi All,

I have query regarding hbase data migration from one cluster to another
cluster in same N/W, but with a different version of hbase one is 0.94.27
(source cluster hbase) and another is destination cluster hbase version is
1.2.1.

I have used below command to take backup of hbase table on source cluster
is:
 ./hbase org.apache.hadoop.hbase.mapreduce.Export SPDBRebuild
/data/backupData/

below files were genrated by using above command:-


drwxr-xr-x 3 root root        4096 Dec  9  2016 _logs
-rw-r--r-- 1 root root   788227695 Dec 16  2016 part-m-00000
-rw-r--r-- 1 root root  1098757026 Dec 16  2016 part-m-00001
-rw-r--r-- 1 root root   906973626 Dec 16  2016 part-m-00002
-rw-r--r-- 1 root root  1981769314 Dec 16  2016 part-m-00003
-rw-r--r-- 1 root root  2099785782 Dec 16  2016 part-m-00004
-rw-r--r-- 1 root root  4118835540 Dec 16  2016 part-m-00005
-rw-r--r-- 1 root root 14217981341 Dec 16  2016 part-m-00006
-rw-r--r-- 1 root root           0 Dec 16  2016 _SUCCESS


in order to restore these files I am assuming I have to move these files in
destination cluster and have to run below command

hbase org.apache.hadoop.hbase.mapreduce.Import <tablename> /data/backupData/

Please suggest if I am on correct direction, second if anyone have another
option.
I have tryed this with test data but above command took very long time and
at end it gets fails

17/10/23 11:54:21 INFO mapred.JobClient:  map 0% reduce 0%
17/10/23 12:04:24 INFO mapred.JobClient: Task Id :
attempt_201710131340_0355_m_000002_0, Status : FAILED
Task attempt_201710131340_0355_m_000002_0 failed to report status for 600
seconds. Killing!


Thanks
Manjeet Singh

Reply via email to