Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 36647 invoked from network); 30 Jul 2009 23:13:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jul 2009 23:13:37 -0000 Received: (qmail 64972 invoked by uid 500); 30 Jul 2009 23:13:37 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 64897 invoked by uid 500); 30 Jul 2009 23:13:37 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 64886 invoked by uid 99); 30 Jul 2009 23:13:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2009 23:13:37 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2009 23:13:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 04F56234C046 for ; Thu, 30 Jul 2009 16:13:15 -0700 (PDT) Message-ID: <465427483.1248995595005.JavaMail.jira@brutus> Date: Thu, 30 Jul 2009 16:13:15 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-1726) Migration to 0.20 looses index information from HTableDescriptor In-Reply-To: <1414978219.1248989354857.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737350#action_12737350 ] stack commented on HBASE-1726: ------------------------------ Good idea Andrew. Would call each contrib in turn at various stages: before, during, after. Lets make an issue but not bother with dev. till needed (smile). In this case, change should be part of the core migration since transaction was core in 0.19. So, Clint, with this fix, you were able to migrate a 0.19 THBase to 0.20? If so, update the wiki where it says we don't migrate THBase nor ITHBase. You'd patch http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/Migrate.java?revision=797273. See migrate6to7. You'd probably want to patch the rewriteHRegionInfo method. > Migration to 0.20 looses index information from HTableDescriptor > ---------------------------------------------------------------- > > Key: HBASE-1726 > URL: https://issues.apache.org/jira/browse/HBASE-1726 > Project: Hadoop HBase > Issue Type: Bug > Components: contrib > Reporter: Clint Morgan > Fix For: 0.20.0 > > > In 0.19 index info was stored as a private field, and written specially in the Writable impl of HTD. In 0.20 it is stored in the general values map under the key "INDEXES". So migration needs to read in the old HTD format, and store the indexes in the values map. I wrote a quick standalone thing to do this. Can someone point me where to plug this into general migration process? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.