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 53567FB81 for ; Sun, 7 Apr 2013 09:25:18 +0000 (UTC) Received: (qmail 28997 invoked by uid 500); 7 Apr 2013 09:25:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28728 invoked by uid 500); 7 Apr 2013 09:25:17 -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 28704 invoked by uid 99); 7 Apr 2013 09:25:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 09:25:16 +0000 Date: Sun, 7 Apr 2013 09:25:16 +0000 (UTC) From: "Jieshan Bean (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8251) enable SSH before assign META on Master startup 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-8251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624848#comment-13624848 ] Jieshan Bean commented on HBASE-8251: ------------------------------------- Yes, one corner case is META RS is killed just before new assignment happening(Killing happens either during calling processRegionInTransitionAndBlockUntilAssigned or verifyMetaRegionLocation), so rit is false and metaRegionLocation is false(Only under this scenario may trigger a new assignment). It may cause data-loss and double assignment. Thanks, Chunhui, Rama and Jeffrey. I'm thinking about adding a check(check for whether currentMetaServer is a online server or a processing dead server, need to change something in ServerManager) before calling assignMeta. > enable SSH before assign META on Master startup > ----------------------------------------------- > > Key: HBASE-8251 > URL: https://issues.apache.org/jira/browse/HBASE-8251 > Project: HBase > Issue Type: Bug > Components: master, Region Assignment > Affects Versions: 0.94.6 > Reporter: Jieshan Bean > Assignee: Jieshan Bean > Attachments: HBASE-8251-94.patch > > > I think HBASE-5918 could not fix this issue. In HMaster#assignRootAndMeta: > 1. Assign ROOT. > 2. Block until ROOT be opened. > 3. Assign META. > 4. Block until META be opened. > SSH is enabled after step 4. So if the RS who host ROOT dies before step 4, master will be blocked. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira