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 03:38:22 GMT
 /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

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