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 D7EB91124E for ; Fri, 29 Aug 2014 06:05:53 +0000 (UTC) Received: (qmail 85720 invoked by uid 500); 29 Aug 2014 06:05:53 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 85671 invoked by uid 500); 29 Aug 2014 06:05:53 -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 85655 invoked by uid 99); 29 Aug 2014 06:05:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 06:05:53 +0000 Date: Fri, 29 Aug 2014 06:05:53 +0000 (UTC) From: "Srikanth Srungarapu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11726) Master should fail-safe if starting with a pre 0.96 layout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-11726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114898#comment-14114898 ] Srikanth Srungarapu commented on HBASE-11726: --------------------------------------------- +1 (non-binding) > Master should fail-safe if starting with a pre 0.96 layout > ---------------------------------------------------------- > > Key: HBASE-11726 > URL: https://issues.apache.org/jira/browse/HBASE-11726 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.96.2, 0.99.0, 0.98.5 > Reporter: Esteban Gutierrez > Assignee: Esteban Gutierrez > Priority: Critical > Attachments: HBASE-11726.v0.diff, HBASE-11726.v1.diff > > > We recently saw this: If user inadvertently starts the HBase Master after deploying new HBase binaries (any version that supports namespaces), the HMaster will start the migration to PBs the the {{hbase.version}} file per HBASE-5453 and that will write a new version file PB-serialized but with the old version number. Further restarts of the master will fail because the hbase version file has been migrated to PBs and there will be version mismatch. The right approach should be to fail safe the master if we find an old {{hbase.version}} file in order to force user to run upgrade tool. -- This message was sent by Atlassian JIRA (v6.2#6252)