Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA96317D7A for ; Wed, 25 Nov 2015 04:56:12 +0000 (UTC) Received: (qmail 10141 invoked by uid 500); 25 Nov 2015 04:56:11 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 10088 invoked by uid 500); 25 Nov 2015 04:56:11 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 9787 invoked by uid 99); 25 Nov 2015 04:56:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2015 04:56:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A4C042C1F8B for ; Wed, 25 Nov 2015 04:56:11 +0000 (UTC) Date: Wed, 25 Nov 2015 04:56:11 +0000 (UTC) From: "Hudson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-4365) FileSystemNodeLabelStore should check for root dir existence on 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/YARN-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026198#comment-15026198 ] Hudson commented on YARN-4365: ------------------------------ FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #640 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/640/]) YARN-4365. FileSystemNodeLabelStore should check for root dir existence (jlowe: rev f5acf94ecafb301a0cc8e8f91f19c8bcbc8da701) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/nodelabels/TestFileSystemNodeLabelsStore.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/nodelabels/FileSystemNodeLabelsStore.java * hadoop-yarn-project/CHANGES.txt > FileSystemNodeLabelStore should check for root dir existence on startup > ----------------------------------------------------------------------- > > Key: YARN-4365 > URL: https://issues.apache.org/jira/browse/YARN-4365 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.7.2 > Reporter: Jason Lowe > Assignee: Kuhu Shukla > Fix For: 2.6.3, 2.7.3 > > Attachments: YARN-4365-1.patch, YARN-4365-2.patch, YARN-4365-3.patch > > > If the namenode is in safe mode for some reason then FileSystemNodeLabelStore will prevent the RM from starting since it unconditionally tries to create the root directory for the label store. If the root directory already exists and no labels are changing then we shouldn't prevent the RM from starting even if the namenode is in safe mode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)