Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C62BE11507 for ; Fri, 15 Aug 2014 17:52:33 +0000 (UTC) Received: (qmail 54158 invoked by uid 500); 15 Aug 2014 17:52:33 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 54079 invoked by uid 500); 15 Aug 2014 17:52:33 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 54067 invoked by uid 99); 15 Aug 2014 17:52:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 17:52:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lhofhansl@yahoo.com designates 72.30.239.198 as permitted sender) Received: from [72.30.239.198] (HELO nm31.bullet.mail.bf1.yahoo.com) (72.30.239.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 17:52:25 +0000 Received: from [98.139.214.32] by nm31.bullet.mail.bf1.yahoo.com with NNFMP; 15 Aug 2014 17:52:04 -0000 Received: from [98.139.212.193] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 15 Aug 2014 17:52:04 -0000 Received: from [127.0.0.1] by omp1002.mail.bf1.yahoo.com with NNFMP; 15 Aug 2014 17:52:04 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 179710.19494.bm@omp1002.mail.bf1.yahoo.com Received: (qmail 48289 invoked by uid 60001); 15 Aug 2014 17:52:04 -0000 X-YMail-OSG: LpLbyJIVM1n4d19l9hopk5bhQ74acWV7InIeH_j0NLh1IIm LYb_P6McoGGqzSZtUJTlQkuw4otcbNWrqzn3YMflZGUIrZqmNELb8Qq0qIkI 0MF6ZmTA8QG.FX0Gt3tX672rYSDlcr6CjBt4IKnrl5_B9ei6DtshTug6oSoX dBRDA7xVxjVWXGxaGZINkJRAS2wEpffs9xofOfatZHPWQGH368k6FZkY.MNj K63jqYdKt_ngLOQCghE9wwWeRbd2ukmg6MW.k.EWcst3wTnCn6ydCFCWIgwM rzXN4mvwvup42.MS1.vuuH0whLOTtpnrNUpUvCq8mtXQkYWcTckRUcDuw1WN uCXa6pYyq23UBRXcjDOcjdYrf.LDv6_YXxc.eal9EQllLL.lvaxnCpC8J9k4 Z9F7u8K6yA6xzLdcI_YjvesmBWRXNZ5vAPPvxOlsWIZn_XNJh9q5Jg2vqAWa Ec1NlvaITrCBQspA7LQjgyNxpAvRGF8ypRZSh1O2pxufocSb3mV0vyTM1noj jX5Np9kBFFyIwrhsUgIC9LVrrxmf.k6.GRC3Ja9hAHEtHZGuqKR6nDw-- Received: from [204.14.239.221] by web140603.mail.bf1.yahoo.com via HTTP; Fri, 15 Aug 2014 10:52:03 PDT X-Rocket-MIMEInfo: 002.001,VHJ5IHRvIGFkZCB0aGVzZTogCgoKLURoYmFzZS5jbGllbnQuc2Nhbm5lci5jYWNoaW5nPTEwMAotRG1hcHJlZC5tYXAudGFza3Muc3BlY3VsYXRpdmUuZXhlY3V0aW9uPWZhbHNlCgoKQWxzbywgYXMgb3RoZXJzIHBvaW50ZWQgb3V0LCB3aGF0J3MgdGhlIGJhbmR3aWR0aCBiZXR3ZWVuIHRoZSB0d28gY2x1c3RlcnM_CgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCiBGcm9tOiB0b2JlIDx0b2JlZzNvb2dsZUBnbWFpbC5jb20.ClRvOiBkZXZAaGJhc2UuYXBhY2hlLm9yZzsgbGFycyBob2ZoYW4BMAEBAQE- X-RocketYMMF: lhofhansl X-Mailer: YahooMailWebService/0.8.201.700 References: <1408080840.42288.YahooMailNeo@web140606.mail.bf1.yahoo.com> Message-ID: <1408125123.47575.YahooMailNeo@web140603.mail.bf1.yahoo.com> Date: Fri, 15 Aug 2014 10:52:03 -0700 From: lars hofhansl Reply-To: lars hofhansl Subject: Re: A better way to migrate the whole cluster? To: "dev@hbase.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1172831624-1272786962-1408125123=:47575" X-Virus-Checked: Checked by ClamAV on apache.org ---1172831624-1272786962-1408125123=:47575 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Try to add these: =0A=0A=0A-Dhbase.client.scanner.caching=3D100=0A-Dmapred.= map.tasks.speculative.execution=3Dfalse=0A=0A=0AAlso, as others pointed out= , what's the bandwidth between the two clusters?=0A=0A=0A=0A_______________= _________________=0A From: tobe =0ATo: dev@hbase.apa= che.org; lars hofhansl =0ASent: Thursday, August 14, 201= 4 11:24 PM=0ASubject: Re: A better way to migrate the whole cluster?=0A =0A= =0AThank @lars.=0A=0AWe're using HBase 0.94.11 and follow the instruction t= o run `./bin/hbase=0Aorg.apache.hadoop.hbase.mapreduce.CopyTable --peer.adr= =3Dhbase://cluster_name=0Atable_name`. We have namespace service to find th= e ZooKeeper with=0A"hbase://cluster_name". And the job ran on a shared yarn= cluster.=0A=0AThe performance is affected by many factors, but we haven't = found out the=0Areason. It would be great to see your suggestions.=0A=0A=0A= =0AOn Fri, Aug 15, 2014 at 1:34 PM, lars hofhansl wrote:= =0A=0A> What version of HBase? How are you running CopyTable? A day for 1.8= T is=0A> not what we would expect.=0A> You can definitely take a snapshot a= nd then export the snapshot to another=0A> cluster, which will move the act= ual files; but CopyTable should not be so=0A> slow.=0A>=0A>=0A> -- Lars=0A>= =0A>=0A>=0A> ________________________________=0A>=A0 From: tobe =0A> To: "user@hbase.apache.org" =0A> Cc= : dev@hbase.apache.org=0A> Sent: Thursday, August 14, 2014 8:18 PM=0A> Subj= ect: A better way to migrate the whole cluster?=0A>=0A>=0A> Sometimes our u= sers want to upgrade their servers or move to a new=0A> datacenter, then we= have to migrate the data from HBase. Currently we=0A> enable the replicati= on from the old cluster to the new cluster, and run=0A> CopyTable to move t= he older data.=0A>=0A> It's a little inefficient. It takes more than one da= y to migrate 1.8T data=0A> and more time to verify. Can we have a better wa= y to do that, like snapshot=0A> or purely HDFS files?=0A>=0A> And what's th= e best practise or your valuable experience?=0A> ---1172831624-1272786962-1408125123=:47575--