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 1DB5FC62B for ; Thu, 3 May 2012 05:32:24 +0000 (UTC) Received: (qmail 28355 invoked by uid 500); 3 May 2012 05:32:24 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28288 invoked by uid 500); 3 May 2012 05:32: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 28279 invoked by uid 99); 3 May 2012 05:32:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 05:32: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; Thu, 03 May 2012 05:32:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B767F42D633 for ; Thu, 3 May 2012 05:32:02 +0000 (UTC) Date: Thu, 3 May 2012 05:32:02 +0000 (UTC) From: "chunhui shen (JIRA)" To: issues@hbase.apache.org Message-ID: <690769103.20561.1336023122799.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <400055949.16818.1335961614101.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5918) Master will block forever when startup if root server died between assign root and assign meta 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-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267203#comment-13267203 ] chunhui shen commented on HBASE-5918: ------------------------------------- bq.Shouldn't we remove the setting of this flag that happens later in finishInitialization? In the patch, the setting of this flag is in a if block, so we should keep setting of this flag that happens later in finishInitialization. > Master will block forever when startup if root server died between assign root and assign meta > ---------------------------------------------------------------------------------------------- > > Key: HBASE-5918 > URL: https://issues.apache.org/jira/browse/HBASE-5918 > Project: HBase > Issue Type: Bug > Components: master > Affects Versions: 0.92.1 > Reporter: chunhui shen > Assignee: chunhui shen > Attachments: HBASE-5918.patch, HBASE-5918.patch > > > When master is initializing, if root server died between assign root and assign meta, master will block at > HMaster#assignRootAndMeta:{code}assignmentManager.assignMeta(); > this.catalogTracker.waitForMeta();{code} > because ServerShutdownHandler is disabled, > So we should enable ServerShutdownHandler after called assignmentManager.assignMeta(); -- 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