Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 69875 invoked from network); 10 Mar 2011 03:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 03:24:06 -0000 Received: (qmail 8814 invoked by uid 500); 10 Mar 2011 03:24:05 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 7881 invoked by uid 500); 10 Mar 2011 03:24:02 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 7556 invoked by uid 99); 10 Mar 2011 03:24:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 03:24:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cjjvictory@gmail.com designates 209.85.214.41 as permitted sender) Received: from [209.85.214.41] (HELO mail-bw0-f41.google.com) (209.85.214.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 03:23:54 +0000 Received: by bwz17 with SMTP id 17so1727775bwz.14 for ; Wed, 09 Mar 2011 19:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=QktBR16WzHjsZ6OWWzC7L8xXnQ+6k5IrI1tibJ3jl40=; b=W3eDOFRmlmzb063XpHwe+KC1ikpPI79ALky9FDEAphcVpb1lAuJ1cqGuMnOOROOJX5 xuit/6iODFXKjr/6e3eEDcjqPyiM2I8I3U2oOHkPzzSxgx7+HOOwGKfeWcjhyLJXhqjY 2nkk5w9M2/WZ+E6kwD7Fy7PIZuXoqSVTKa8pU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qj5jkOj9/Df/u5lW3fK4vP4YcTexkOAVm9t2OiyYhu8mP6PlOwFM2zq/aIPUTTzIfK os6AWj98/Sl6oVM4Q7s7E9J9bQPSl9eWQLADZMEUlkbDYC5NoxLlTa9D/WESE0NgmhTo DjrUH99DaQ5cXVEX9gfjY+3Ixci2QQMUX7oiA= MIME-Version: 1.0 Received: by 10.223.102.69 with SMTP id f5mr2216367fao.22.1299727413948; Wed, 09 Mar 2011 19:23:33 -0800 (PST) Received: by 10.223.5.219 with HTTP; Wed, 9 Mar 2011 19:23:33 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Mar 2011 11:23:33 +0800 Message-ID: Subject: Re: How to copy HTable from one cluster to another cluster ? From: =?UTF-8?B?6ZmI5Yqg5L+K?= To: user@hbase.apache.org Cc: shixing Content-Type: multipart/alternative; boundary=20cf30434494d03044049e185e36 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30434494d03044049e185e36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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, =E9=99=88=E5=8A=A0=E4=BF=8A wrote: > > > How to copy HTable from one cluster to another cluster ? > > > > The table is very big . > > > > -- > > Thanks & Best regards > > jiajun > > > > > > -- > Best wishes! > My Friend~ > --=20 Thanks & Best regards jiajun --20cf30434494d03044049e185e36--