Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 62655 invoked from network); 23 Apr 2009 10:13:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Apr 2009 10:13:11 -0000 Received: (qmail 82651 invoked by uid 500); 23 Apr 2009 10:13:10 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 82600 invoked by uid 500); 23 Apr 2009 10:13:10 -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 82558 invoked by uid 99); 23 Apr 2009 10:13:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2009 10:13:10 +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, 23 Apr 2009 10:13:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A63BB234C053 for ; Thu, 23 Apr 2009 03:12:47 -0700 (PDT) Message-ID: <1554759114.1240481567679.JavaMail.jira@brutus> Date: Thu, 23 Apr 2009 03:12:47 -0700 (PDT) From: "Evgeny Ryabitskiy (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Issue Comment Edited: (HBASE-1195) If HBase directory exists but version file is inexistent, still proceed with bootstrapping In-Reply-To: <208588352.1234376943936.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-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701877#action_12701877 ] Evgeny Ryabitskiy edited comment on HBASE-1195 at 4/23/09 3:11 AM: ------------------------------------------------------------------- Fixed FSUtils.checkVersion(fs, rootdir, true); Changes: * If root dir empty (no version file and no ROOT Region dir), just create new version file * But if there exists ROOT Region dir and no Version file, should be required migration. Not changed: * if version not matched ask for migration was (Author: apparition): Fixed FSUtils.checkVersion(fs, rootdir, true); Changes: * If root dir empty (no version file and no ROOT Region dir), just create new version file * But if there exists ROOT Region dir and no Version file, should be required migration. Not changed: * if version not matched ask for > If HBase directory exists but version file is inexistent, still proceed with bootstrapping > ------------------------------------------------------------------------------------------ > > Key: HBASE-1195 > URL: https://issues.apache.org/jira/browse/HBASE-1195 > Project: Hadoop HBase > Issue Type: Improvement > Components: master > Reporter: Jean-Daniel Cryans > Assignee: Evgeny Ryabitskiy > Priority: Minor > Fix For: 0.20.0 > > Attachments: HBASE-1195.patch > > > On the dev list I suggested we change the way we manage the empty HBase directory case. Stack answered: > {quote} > Yes. In fact, its probably safe-to-do now we've left far behind the > pre-history versions of hbase where there was no hbase.version file in the > hbase.rootdir. If absent, lets proceed and just write it rather than treat > it as a non-migrated instance > {quote} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.