You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by "dylan602@163.com" <dy...@163.com> on 2015/01/08 10:05:57 UTC

migrate hbase data from hbase-0.94 to hbase-0.98

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

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Sorry , It's only spelling mistakes for 'hftp'.
The output from distcp is right. The all data is in hadoop hdfs completely.



dylan602@163.com
 
From: Ted Yu
Date: 2015-01-09 05:23
To: common-user@hadoop.apache.org
Subject: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Sorry , It's only spelling mistakes for 'hftp'.
The output from distcp is right. The all data is in hadoop hdfs completely.



dylan602@163.com
 
From: Ted Yu
Date: 2015-01-09 05:23
To: common-user@hadoop.apache.org
Subject: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Sorry , It's only spelling mistakes for 'hftp'.
The output from distcp is right. The all data is in hadoop hdfs completely.



dylan602@163.com
 
From: Ted Yu
Date: 2015-01-09 05:23
To: common-user@hadoop.apache.org
Subject: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Sorry , It's only spelling mistakes for 'hftp'.
The output from distcp is right. The all data is in hadoop hdfs completely.



dylan602@163.com
 
From: Ted Yu
Date: 2015-01-09 05:23
To: common-user@hadoop.apache.org
Subject: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Ted Yu <yu...@gmail.com>.
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:

> 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
>

-- process information unavailable

Posted by "dylan602@163.com" <dy...@163.com>.
Hi 
Irun mapreduce on yarn successfully. But it always appear unavailable process on the nodemanager node.
as follow:

30264 -- process information unavailable
5082 DataNode
1596 QuorumPeerMain
20268 HRegionServer
5540 Worker
5241 NodeManager
30311 -- process information unavailable
4941 JournalNode
20458 ThriftServer
30667 Jps
30364 -- process information unavailable

After I deleted the process under  tmp/hsperfdata_yarn ,but it appeared again next running mapreduce.


dylan602@163.com
 
From: dylan602@163.com
Date: 2015-01-09 13:16
To: user@hadoop.apache.org
Subject: Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

-- process information unavailable

Posted by "dylan602@163.com" <dy...@163.com>.
Hi 
Irun mapreduce on yarn successfully. But it always appear unavailable process on the nodemanager node.
as follow:

30264 -- process information unavailable
5082 DataNode
1596 QuorumPeerMain
20268 HRegionServer
5540 Worker
5241 NodeManager
30311 -- process information unavailable
4941 JournalNode
20458 ThriftServer
30667 Jps
30364 -- process information unavailable

After I deleted the process under  tmp/hsperfdata_yarn ,but it appeared again next running mapreduce.


dylan602@163.com
 
From: dylan602@163.com
Date: 2015-01-09 13:16
To: user@hadoop.apache.org
Subject: Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

-- process information unavailable

Posted by "dylan602@163.com" <dy...@163.com>.
Hi 
Irun mapreduce on yarn successfully. But it always appear unavailable process on the nodemanager node.
as follow:

30264 -- process information unavailable
5082 DataNode
1596 QuorumPeerMain
20268 HRegionServer
5540 Worker
5241 NodeManager
30311 -- process information unavailable
4941 JournalNode
20458 ThriftServer
30667 Jps
30364 -- process information unavailable

After I deleted the process under  tmp/hsperfdata_yarn ,but it appeared again next running mapreduce.


dylan602@163.com
 
From: dylan602@163.com
Date: 2015-01-09 13:16
To: user@hadoop.apache.org
Subject: Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

-- process information unavailable

Posted by "dylan602@163.com" <dy...@163.com>.
Hi 
Irun mapreduce on yarn successfully. But it always appear unavailable process on the nodemanager node.
as follow:

30264 -- process information unavailable
5082 DataNode
1596 QuorumPeerMain
20268 HRegionServer
5540 Worker
5241 NodeManager
30311 -- process information unavailable
4941 JournalNode
20458 ThriftServer
30667 Jps
30364 -- process information unavailable

After I deleted the process under  tmp/hsperfdata_yarn ,but it appeared again next running mapreduce.


dylan602@163.com
 
From: dylan602@163.com
Date: 2015-01-09 13:16
To: user@hadoop.apache.org
Subject: Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by "dylan602@163.com" <dy...@163.com>.
Thank you very much. It successed finally.



dylan602@163.com
 
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 <dy...@163.com> wrote:
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

邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。
共有 1 个附件
Catch(01-05-16-2(01-08-17-04-51).jpg(77K) 极速下载 在线预览 

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Du Lam <de...@gmail.com>.
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 <dy...@163.com> wrote:

> 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
>

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Ted Yu <yu...@gmail.com>.
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:

> 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
>

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Ted Yu <yu...@gmail.com>.
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:

> 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
>

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Du Lam <de...@gmail.com>.
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 <dy...@163.com> wrote:

> 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
>

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Ted Yu <yu...@gmail.com>.
Looks like you had a typo below - have you checked output from distcp ?
bq. htfp:


On Thu, Jan 8, 2015 at 1:05 AM, dylan602@163.com <dy...@163.com> wrote:

> 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
>

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Du Lam <de...@gmail.com>.
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 <dy...@163.com> wrote:

> 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
>

Re: migrate hbase data from hbase-0.94 to hbase-0.98

Posted by Du Lam <de...@gmail.com>.
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 <dy...@163.com> wrote:

> 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
>