Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C6B33200B5D for ; Sun, 7 Aug 2016 18:05:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C5322160A87; Sun, 7 Aug 2016 16:05:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3F3C0160A6D for ; Sun, 7 Aug 2016 18:05:22 +0200 (CEST) Received: (qmail 57896 invoked by uid 500); 7 Aug 2016 16:05:21 -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 57885 invoked by uid 99); 7 Aug 2016 16:05:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Aug 2016 16:05:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8C9E62C027F for ; Sun, 7 Aug 2016 16:05:20 +0000 (UTC) Date: Sun, 7 Aug 2016 16:05:20 +0000 (UTC) From: "Heng Chen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-16367) Race between master and region server initialization may lead to premature server abort MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 07 Aug 2016 16:05:23 -0000 [ https://issues.apache.org/jira/browse/HBASE-16367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410977#comment-15410977 ] Heng Chen commented on HBASE-16367: ----------------------------------- +1 > Race between master and region server initialization may lead to premature server abort > --------------------------------------------------------------------------------------- > > Key: HBASE-16367 > URL: https://issues.apache.org/jira/browse/HBASE-16367 > Project: HBase > Issue Type: Bug > Affects Versions: 1.1.2 > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 16367.v1.txt, 16367.v2.txt, 16367.v3.txt, 63908-master.log > > > I was troubleshooting a case where hbase (1.1.2) master always dies shortly after start - see attached master log snippet. > It turned out that master initialization thread was racing with HRegionServer#preRegistrationInitialization() (initializeZooKeeper, actually) since HMaster extends HRegionServer. > Through additional logging in master: > {code} > this.oldLogDir = createInitialFileSystemLayout(); > HFileSystem.addLocationsOrderInterceptor(conf); > LOG.info("creating splitLogManager"); > {code} > I found that execution didn't reach the last log line before region server declared cluster Id being null. -- This message was sent by Atlassian JIRA (v6.3.4#6332)