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 7FC9510F09 for ; Tue, 6 Aug 2013 18:25:49 +0000 (UTC) Received: (qmail 31499 invoked by uid 500); 6 Aug 2013 18:25:49 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 31291 invoked by uid 500); 6 Aug 2013 18:25:48 -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 31206 invoked by uid 99); 6 Aug 2013 18:25:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 18:25:48 +0000 Date: Tue, 6 Aug 2013 18:25:47 +0000 (UTC) From: "Joseph Kniest (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1019) YarnConfiguration validation for local disk path and http addresses. 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-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731053#comment-13731053 ] Joseph Kniest commented on YARN-1019: ------------------------------------- Hi, new to yarn, where do I look in the code base for this? > YarnConfiguration validation for local disk path and http addresses. > -------------------------------------------------------------------- > > Key: YARN-1019 > URL: https://issues.apache.org/jira/browse/YARN-1019 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Omkar Vinit Joshi > Priority: Minor > Labels: newbie > > Today we are not validating certain configuration parameters set in yarn-site.xml. 1) Configurations related to paths... such as local-dirs, log-dirs.. Our NM crashes during startup if they are set to relative paths rather than absolute paths. To avoid such failures we can enforce checks (absolute paths) before startup . i.e. before we actually startup...( i.e. directory handler creating directories). > 2) Also for all the parameters using "hostname:port" unless we are ok with default port. -- 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