Return-Path: Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: (qmail 67216 invoked from network); 23 Jul 2009 20:48:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 20:48:44 -0000 Received: (qmail 24022 invoked by uid 500); 23 Jul 2009 20:49:49 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 23955 invoked by uid 500); 23 Jul 2009 20:49:49 -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 23946 invoked by uid 500); 23 Jul 2009 20:49:49 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 23943 invoked by uid 99); 23 Jul 2009 20:49:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 20:49:49 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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; Thu, 23 Jul 2009 20:49:47 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7EC6A1112E for ; Thu, 23 Jul 2009 20:49:27 +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: Thu, 23 Jul 2009 20:49:27 -0000 Message-ID: <20090723204927.20767.19120@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 ------------------------------------------------------------------------------ For example, to major compact the -ROOT-: - {{{$ ./bin/hbase org.apache.hadoop.hbase.regionserver.HRegion hdfs://aa0-000-12:9002/hbasetrunk2/-ROOT- major_compact}}} + {{{$ ./bin/hbase org.apache.hadoop.hbase.regionserver.HRegion hdfs://www.example.com:9000/hbasetrunk2/-ROOT- major_compact}}} Don't forget the 'major_compact' off the end else it just lists out the content of the region. @@ -98, +98 @@ {{{$./bin/hadoop jar hbase-0.20.x.jar hsf2sf}}} - This job takes an empty input and output directory. It will first run through your filesystem to find all mapfile to convert, write a file to the input directory and then startup the mapreduce job to do the convertions. + This job takes an empty input and output directory. It will first run through your filesystem to find all mapfiles to convert, write a file to the input directory listing all files, and then startup the mapreduce job to do the convertions. - Now, run the hbase migration script. If you have run the mapreduce job, it will notice that all storefiles have been rewritten and will skip the rewrite step. Otherwise, the migration script first does this. + Now, run the hbase migration script. If you have run the mapreduce job, it will notice that all storefiles have been rewritten and will skip the rewrite step. Otherwise, the migration script first does this convertion. {{{$./bin/hbase migrate upgrade}}}