Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 58078 invoked from network); 21 Jul 2009 22:10:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jul 2009 22:10:25 -0000 Received: (qmail 62774 invoked by uid 500); 21 Jul 2009 22:11:30 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 62696 invoked by uid 500); 21 Jul 2009 22:11:30 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 62687 invoked by uid 500); 21 Jul 2009 22:11:30 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 62684 invoked by uid 99); 21 Jul 2009 22:11:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 22:11:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 22:11:28 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id F00301112E for ; Tue, 21 Jul 2009 22:11:07 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: core-commits@hadoop.apache.org Date: Tue, 21 Jul 2009 22:11:07 -0000 Message-ID: <20090721221107.7375.76625@eos.apache.org> Subject: [Hadoop Wiki] Trivial Update of "Hbase/HowToMigrate" by stack X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification. The following page has been changed by stack: http://wiki.apache.org/hadoop/Hbase/HowToMigrate ------------------------------------------------------------------------------ === From 0.19.x to 0.20.x === + Please read the below carefully. + You can only migrate to 0.20.x from 0.19.x. If you have an earlier hbase, you will need to install 0.19, migrate your old instance, and then install 0.20.x. Migration does not work for transactional hbase installs or for indexed hbase installs. Talk to us if you need this. @@ -39, +41 @@ ==== Preparing for Migration ==== - You to do a few things first before you can begin migration. + You must do a few things first before you can begin migration. ===== Can you back up your data? ===== Migration has been tested but if you have sufficient space in hdfs to make a copy of your hbase rootdir, do so. Just in case. Use hdfs distcp. ===== Major Compacting all Tables ===== - Before you begin, run a major compaction on all tables including .META. table. To major compact from the shell, hbase must be running. For example, the below cluster has only one table named 'a'. See how we run a major_compaction on each: + Before you begin, you MUST run a major compaction on all tables including .META. table. Migration will not work without your completing major compaction. To major compact from the shell, hbase must be running. For example, the below cluster has only one table named 'a'. See how we run a major_compaction on each: {{{stack@connelly:~/checkouts/hbase/branches/0.19$ ./bin/hbase shell HBase Shell; enter 'help' for list of supported commands.