Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5EB2D9689 for ; Wed, 8 Feb 2012 00:59:24 +0000 (UTC) Received: (qmail 71289 invoked by uid 500); 8 Feb 2012 00:59:24 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 70831 invoked by uid 500); 8 Feb 2012 00:59:23 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 70768 invoked by uid 99); 8 Feb 2012 00:59:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 00:59:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 00:59:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 08B831A813A for ; Wed, 8 Feb 2012 00:59:00 +0000 (UTC) Date: Wed, 8 Feb 2012 00:59:00 +0000 (UTC) From: "Alex Newman (Assigned) (JIRA)" To: issues@hbase.apache.org Message-ID: <728499390.11994.1328662740037.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1221668805.74594.1327447240590.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (HBASE-5275) Create migration for hbase-2600 meta table rejigger so regions denoted by end row 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-5275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Newman reassigned HBASE-5275: ---------------------------------- Assignee: Alex Newman > Create migration for hbase-2600 meta table rejigger so regions denoted by end row > --------------------------------------------------------------------------------- > > Key: HBASE-5275 > URL: https://issues.apache.org/jira/browse/HBASE-5275 > Project: HBase > Issue Type: Task > Reporter: stack > Assignee: Alex Newman > > Chatting with Alex, we'd do as was done previous where we'll can data from 0.92 and then have a test that unbundles this canned data, migrates it and then makes sure all still works. Migration test would include verification of idempotency; i.e. if migration fails midway, we should be able to rerun it. > Canned data should include a meta with splits and WALs to split (migrations usually require clean shutdown so no WALs should be in place but just in case... And replication is reading logs) > We were thinking that on startup, we'd check hbase.version file. If not updated, we'd rewrite .META. offline before starting up. > In offline mode -- open of the .META. regions -- we'd do a rewrite per row changing the HRegionInfo version from VERSION=1 to VERSION=2. > VERSION=2 is the new format HRegionInfo. > VERSION=2 will use endrow but it will keep its current encoded name (though it was generated with startrow as input) so we don't have to move stuff around in filesystem. > New HRIs subsequent to the migration will be written out as VERSION=3. A VERSION=3 has endrow in its name but the encoded name will be made using startrow+endrow+regionid+tablename rather than just startrow+regionid+tablename as in VERSION=1. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira