hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dylan602@163.com" <dylan...@163.com>
Subject Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Date Fri, 09 Jan 2015 05:16:31 GMT
Thank you very much. It successed finally.

From: Du Lam
Date: 2015-01-09 11:51
To: user
Subject: Re: migrate hbase data from hbase-0.94 to hbase-0.98
if i've not mistaken the -Dhbase.import.version=0.98   should be put as -Dhbase.import.version=0.94

On Thu, Jan 8, 2015 at 5:05 PM, dylan602@163.com <dylan602@163.com> wrote:
How to migrate hbase table from hbase-0.94 to hbase-0.98, which both belong to different hadoop

I had  exported data from old cluster to the new cluster using the hadoop distcp command,as
hadoop distcp -update pb -skipcrccheck htfp:// /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

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


共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 
View raw message