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 DC2709719 for ; Tue, 24 Jan 2012 23:21:02 +0000 (UTC) Received: (qmail 28583 invoked by uid 500); 24 Jan 2012 23:21:02 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28486 invoked by uid 500); 24 Jan 2012 23:21:02 -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 28453 invoked by uid 99); 24 Jan 2012 23:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 23:21:01 +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; Tue, 24 Jan 2012 23:21:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8FBC7160E40 for ; Tue, 24 Jan 2012 23:20:40 +0000 (UTC) Date: Tue, 24 Jan 2012 23:20:40 +0000 (UTC) From: "stack (Created) (JIRA)" To: issues@hbase.apache.org Message-ID: <1221668805.74594.1327447240590.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 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 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