hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 陈加俊 <cjjvict...@gmail.com>
Subject Re: How to copy HTable from one cluster to another cluster ?
Date Thu, 10 Mar 2011 04:32:28 GMT
/app/cloud/hadoop/bin/hadoop distcp hdfs://
master.uc.uuwatch.com:9000/hbase/cjjSite hdfs://192.168.0.181:9000/hba/e/
11/03/10 11:42:04 INFO tools.DistCp: srcPaths=[hdfs://
master.uc.uuwatch.com:9000/hbase/cjjSite]
11/03/10 11:42:04 INFO tools.DistCp: destPath=hdfs://
192.168.0.181:9000/hbase
11/03/10 11:52:34 INFO tools.DistCp: srcCount=21
11/03/10 12:08:44 INFO mapred.JobClient: Running job: job_201012131904_0004
11/03/10 12:08:48 INFO mapred.JobClient:  map 0% reduce 0%
11/03/10 12:18:52 INFO mapred.JobClient: Task Id :
attempt_201012131904_0004_m_000002_0, Status : FAILED
Task attempt_201012131904_0004_m_000002_0 failed to report status for 602
seconds. Killing!
11/03/10 12:28:56 INFO mapred.JobClient: Task Id :
attempt_201012131904_0004_r_000001_0, Status : FAILED
Task attempt_201012131904_0004_r_000001_0 failed to report status for 601
seconds. Killing!


On Thu, Mar 10, 2011 at 11:38 AM, 陈加俊 <cjjvictory@gmail.com> wrote:

>  /app/cloud/hadoop/bin/hadoop distcp hdfs://
> master.uc.uuwatch.com:9000/hbase/cjjProgramme hdfs://
> 192.168.0.181:9000/hbase/
> 11/03/10 11:36:24 INFO tools.DistCp: srcPaths=[hdfs://
> master.uc.uuwatch.com:9000/hbase/cjjProgramme]
> 11/03/10 11:36:24 INFO tools.DistCp: destPath=hdfs://
> 192.168.0.181:9000/hbase
> 11/03/10 11:36:27 INFO tools.DistCp: srcCount=3180
> 11/03/10 11:36:28 INFO mapred.JobClient: Running job: job_201012131904_0001
> 11/03/10 11:36:29 INFO mapred.JobClient:  map 0% reduce 0%
>
> and master.uc.uuwatch.com -> 192.168.5.151
>
> On Thu, Mar 10, 2011 at 11:23 AM, 陈加俊 <cjjvictory@gmail.com> wrote:
>
>> The two  cluster is in diffrent LAN , but one PC has two network card so
>> could connect the two LAN.
>>
>> Any hints?
>>
>>
>> On Wed, Mar 9, 2011 at 8:05 PM, shixing <paradisehit@gmail.com> wrote:
>>
>>> 1.You use hdfs-distcp the table files to the destination.
>>> for example:
>>>
>>>  distcp hdpnn1:/hbase/TABLE_NAME to hdpnn2:/hbase/TABLE_NAME
>>>
>>> 2. Import the meta data from hbase1 '.META.' table where the row's prefix
>>> is
>>> TABLE_NAME to hbase2 '.META.'
>>>
>>>
>>>
>>> On Wed, Mar 9, 2011 at 6:27 PM, 陈加俊 <cjjvictory@gmail.com> wrote:
>>>
>>> > How to copy HTable from one cluster to another cluster ?
>>> >
>>> > The table is very big .
>>> >
>>> > --
>>> > Thanks & Best regards
>>> > jiajun
>>> >
>>>
>>>
>>>
>>> --
>>> Best wishes!
>>> My Friend~
>>>
>>
>>
>>
>> --
>> Thanks & Best regards
>> jiajun
>>
>>
>
>
> --
> Thanks & Best regards
> jiajun
>
>


-- 
Thanks & Best regards
jiajun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message