Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A0FD17A98 for ; Sun, 19 Oct 2014 17:59:04 +0000 (UTC) Received: (qmail 98164 invoked by uid 500); 19 Oct 2014 17:59:02 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 98090 invoked by uid 500); 19 Oct 2014 17:59: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 98077 invoked by uid 99); 19 Oct 2014 17:59:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Oct 2014 17:59:02 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ndimiduk@gmail.com designates 209.85.218.46 as permitted sender) Received: from [209.85.218.46] (HELO mail-oi0-f46.google.com) (209.85.218.46) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Oct 2014 17:58:56 +0000 Received: by mail-oi0-f46.google.com with SMTP id h136so2668460oig.33 for ; Sun, 19 Oct 2014 10:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=td4yCHZITf8QTDFF7d+Brebyp7MAyHU04nTZbBdzP4M=; b=g/LGlgsoTHNzM1Pz8rW2OOnbzkMjlFaRMLtFUyWzDs09wdnBZvZSCAbnSPEuJ1t7RX XS5hZYKSz6JQBYc0du6fhCe/1tzpJFchipmEXLdbG8B8mxSrotGfaGMxB0jKcL/KdLgb n1+g1Fh+aJ3KBzVMIVuRaTTZ1ewJjp5z/EHeYg3C+dYbVIcHAnNiXM4OmDzbnCqUtFsc 5jOKSlJOrthRIVRjTP/stpHcPvCFJC5cLZ+iy2nnpVjGIB9SbnXLkmCd3aNdrWR+3Pd2 BMRGyxwDKZYMS6wjGcaV8YKsuzL2CT7KbukXxUaZjX2LhH6ZUTqP4aCjhNFinvg0eVWF bQxg== MIME-Version: 1.0 X-Received: by 10.202.206.144 with SMTP id e138mr2584706oig.64.1413741516291; Sun, 19 Oct 2014 10:58:36 -0700 (PDT) Received: by 10.182.80.164 with HTTP; Sun, 19 Oct 2014 10:58:36 -0700 (PDT) In-Reply-To: References: Date: Sun, 19 Oct 2014 13:58:36 -0400 Message-ID: Subject: Re: issue about migrate hbase table from 0.94 to 0.98 From: Nick Dimiduk To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a113ad9f0e206720505ca5821 X-Virus-Checked: Checked by ClamAV on apache.org --001a113ad9f0e206720505ca5821 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To be clear, you have two clusters, and you're interested in moving a table's data but not necessarily it's operational load? There is probably a migration path involving table snapshots, though I've not tried it myself. It would look something like the following: - major compact the table to ensure it's data files are all HFileV2 - create a snapshot of the table - export the snapshot to a path on HDFS - copy the export to the new cluster, probably with distcp or webhdfs - import the snapshot into HBase on the new cluster I have limited experience with the snapshot features, so I may be missing some steps. Good luck, Nick On Friday, October 17, 2014, ch huang wrote: > thanks,but i think u are not understand , i want to move hbase table from > one cluster to another cluster ,they have different hbase version ,i am n= ot > want to upgrade my cluster! > > > On Fri, Oct 17, 2014 at 9:04 PM, Ted Yu > wrote: > > > See https://issues.apache.org/jira/browse/HBASE-9360 > > > > On Oct 17, 2014, at 1:59 AM, ch huang > wrote: > > > > > thanks for reply ,i want to copy some selected table , not whole > cluster > > , > > > > > > On Fri, Oct 17, 2014 at 4:46 PM, Ted Yu > wrote: > > > > > >> Can you give a bit more detail ? > > >> > > >> Are you migrating whole cluster or just selected tables ? > > >> > > >> Cheers > > >> > > >> On Oct 16, 2014, at 10:48 PM, ch huang > wrote: > > >> > > >>> hi=EF=BC=8Cmaillist: > > >>> > > >>> how can do do data migrate from hbase 0.94 to 0.96 ,copy file from > old > > >>> hadoop cluster to new hadoop cluster is OK ,any one can help me? > > >> > > > --001a113ad9f0e206720505ca5821--