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 D2A6110CAB for ; Sun, 10 Nov 2013 20:25:02 +0000 (UTC) Received: (qmail 20239 invoked by uid 500); 10 Nov 2013 20:25:00 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 20174 invoked by uid 500); 10 Nov 2013 20:25:00 -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 20166 invoked by uid 99); 10 Nov 2013 20:25:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 20:25:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hv.csuoa@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-wg0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Nov 2013 20:24:56 +0000 Received: by mail-wg0-f51.google.com with SMTP id l18so3769858wgh.6 for ; Sun, 10 Nov 2013 12:24:35 -0800 (PST) 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=8dwHcB6/QgPUsKedemIOV4NYQbC9j5PLiPCjDOStWIs=; b=WFXYR0UDQ/mYiTHs0C3OGQmqiTXwvAn8gmMDXKhy2DpR5gTW9MnyPaeKEdexr94M5B T9B0GdkfB250JSUVSG/OpdA5xE9TMCPgXcb4E6K5qID3NFmU3ueLEaSHHJ9fGuPncjyQ i6MRZbMFjGlKR/K4UyLpHDScwCjM64MKgB1uIwrBALhJOml9MwPiADuuwoGNWW12g1TS 6bZ5+XSrPkFaPO6s0WuJtOEl4R+A5B1xSEPwTfTg621Ds9VEm4z7421kho0EfvM4yyML Gcoxb7Xk+g/LFXxqxrqynQHt0F5podn2VKYu4X3pCYC1Og6xuf6RzZIr3S8roBKpWSjf ebbg== MIME-Version: 1.0 X-Received: by 10.194.237.226 with SMTP id vf2mr52286wjc.58.1384115074964; Sun, 10 Nov 2013 12:24:34 -0800 (PST) Received: by 10.216.162.200 with HTTP; Sun, 10 Nov 2013 12:24:34 -0800 (PST) In-Reply-To: References: Date: Sun, 10 Nov 2013 12:24:34 -0800 Message-ID: Subject: Re: Migrate 0.94 to remote 0.96 From: Himanshu Vashishtha To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e01493d965f23e504ead8676d X-Virus-Checked: Checked by ClamAV on apache.org --089e01493d965f23e504ead8676d Content-Type: text/plain; charset=ISO-8859-1 JM, Did you look at the upgrade section in the book, http://hbase.apache.org/upgrading.html#upgrade0.96 It does in-place upgrade of a 94 installation to 96. In case your 96 is fresh, you could dump/copy all your 94 data under root dir, and run the upgrade script. No, 96 doesn't convert each table automatically, one need to use the upgrade script. Himanshu On Sun, Nov 10, 2013 at 11:34 AM, Jean-Marc Spaggiari < jean-marc@spaggiari.org> wrote: > Hi, > > I have a 0.94 (hadoop 1.0.3) cluster that I want to migrate to a 0.96 > (hadoop 2.2.0) cluster. However, there is no network connection between the > 2 clusters... What's the best way to do that? > > I tried with a single table first. Did an extract from 0.94 to the local > disk using hadoop get of all the files into /hbase/tablename and tried to > re-import on the 0.96 side. I was able to see the table name, but not the > content. I guess because of namespace and others, it's not doable? > > Another option is to export in CVS format, then transfer. the files, and > re-import on the 0.96 side. But I would have liked to keep the regions > splits, etc. > > So the only working option I see for now is the CVS. Any other one? > > Next, if I'm able to get a network between the 2 clusters, then copytable > should be the best option? Or an I "simply" dist-cp with entire /hbase > folder? I guess this last option is not reall correct since I will have a > 0.94 format in the 0.96 cluster. Or will the 0.96 cluster automatically > convert each table with is in the old format? > > Thanks, > > JM > --089e01493d965f23e504ead8676d--