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 80487D787 for ; Thu, 20 Sep 2012 00:21:08 +0000 (UTC) Received: (qmail 97093 invoked by uid 500); 20 Sep 2012 00:21:08 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 97057 invoked by uid 500); 20 Sep 2012 00:21:08 -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 97041 invoked by uid 99); 20 Sep 2012 00:21:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2012 00:21:08 +0000 Date: Thu, 20 Sep 2012 11:21:08 +1100 (NCT) From: "Siddharth Seth (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: <1793097354.100338.1348100468353.JavaMail.jiratomcat@arcas> In-Reply-To: <63715344.32087.1345497938166.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (YARN-33) LocalDirsHandler should validate the configured local and log dirs 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-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459243#comment-13459243 ] Siddharth Seth commented on YARN-33: ------------------------------------ bq. I think we already do that right now. We have functions which removes the unhealthy log dirs and local dirs from the list. I followed the same model. I think its reasonable for the log/local dirs because people may have added multiple but if one of them is good we should be able to make cluster functioning and with the error message in the log that following disks are in bad shape. These dirs are removed directly from the initial list (as against the initial list containing all configured dirs). They don't count towards bad disks, and the node health calculation. > LocalDirsHandler should validate the configured local and log dirs > ------------------------------------------------------------------ > > Key: YARN-33 > URL: https://issues.apache.org/jira/browse/YARN-33 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.0.2-alpha > Reporter: Mayank Bansal > Assignee: Mayank Bansal > Attachments: YARN-33-trunk-v1.patch, YARN-33-trunk-v2.patch > > > WHen yarn.nodemanager.log-dirs is with file:// URI then startup of node manager creates the directory like file:// under CWD. > WHich should not be there. > Thanks, > Mayank -- 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