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 E1473189CF for ; Fri, 8 Jan 2016 21:53:40 +0000 (UTC) Received: (qmail 98590 invoked by uid 500); 8 Jan 2016 21:53:40 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 98326 invoked by uid 500); 8 Jan 2016 21:53:40 -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 98263 invoked by uid 99); 8 Jan 2016 21:53:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 21:53:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DEF282C1F57 for ; Fri, 8 Jan 2016 21:53:39 +0000 (UTC) Date: Fri, 8 Jan 2016 21:53:39 +0000 (UTC) From: "Ray Chiang (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4568) Fix message when NodeManager runs into errors initializing the recovery directory 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-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ray Chiang updated YARN-4568: ----------------------------- Labels: supportability (was: ) > Fix message when NodeManager runs into errors initializing the recovery directory > --------------------------------------------------------------------------------- > > Key: YARN-4568 > URL: https://issues.apache.org/jira/browse/YARN-4568 > Project: Hadoop YARN > Issue Type: Improvement > Components: yarn > Affects Versions: 2.8.0 > Reporter: Ray Chiang > Assignee: Ray Chiang > Labels: supportability > Attachments: YARN-4568.001.patch > > > When the NodeManager tries to initialize the recovery directory, the method NativeIO#chmod() can throw one of several Errno style exceptions. This propagates up to the top without any try/catch statement. > It would be nice to have a cleaner error message in this situation (plus the original exception) to give users an idea about what part of the system has gone wrong. -- This message was sent by Atlassian JIRA (v6.3.4#6332)