hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dylan602@163.com" <dylan...@163.com>
Subject migrate hbase data from hbase-0.94 to hbase-0.98
Date Thu, 08 Jan 2015 09:05:57 GMT
Hi,
How to migrate hbase table from hbase-0.94 to hbase-0.98, which both belong to different hadoop
clusters.

I had  exported data from old cluster to the new cluster using the hadoop distcp command,as
follow:
hadoop distcp -update pb -skipcrccheck htfp://192.168.200.21:50070/user/root/ParsedData /user/root/

and executed the hbase import command to import data to hbase-0.98. 
 
 "hbase -Dhbase.import.version=0.98.6 org.apache.hadoop.hbase.mapreduce.Import ParsedData
/user/root/ParsedData"

 This command executed successfully,but the 'ParsedData'  table is always empty.




dylan602@163.com
Mime
View raw message