Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 D1DFA91AC for ; Fri, 13 Jul 2012 23:26:38 +0000 (UTC) Received: (qmail 13798 invoked by uid 500); 13 Jul 2012 23:26:36 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 13715 invoked by uid 500); 13 Jul 2012 23:26:36 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 13335 invoked by uid 99); 13 Jul 2012 23:26:36 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jul 2012 23:26:36 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 261DC142860 for ; Fri, 13 Jul 2012 23:26:36 +0000 (UTC) Date: Fri, 13 Jul 2012 23:26:36 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <682440042.51002.1342221996159.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1806270015.28114.1341926316194.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (MAPREDUCE-4422) YARN_APPLICATION_CLASSPATH needs a documented default value in YarnConfiguration 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/MAPREDUCE-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414145#comment-13414145 ] Alejandro Abdelnur commented on MAPREDUCE-4422: ----------------------------------------------- Ahmed, one NIT I see: The default value should be a String[], doing the "....".split() in teh constant definition. Then when using it as default value there is not split() call over and over. > YARN_APPLICATION_CLASSPATH needs a documented default value in YarnConfiguration > -------------------------------------------------------------------------------- > > Key: MAPREDUCE-4422 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4422 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: nodemanager > Affects Versions: 2.0.0-alpha > Reporter: Arun C Murthy > Assignee: Ahmed Radwan > Fix For: 2.0.1-alpha > > Attachments: MAPREDUCE-4422.patch, MAPREDUCE-4422_rev2.patch, MAPREDUCE-4422_rev3.patch, MAPREDUCE-4422_rev3.patch > > > MAPREDUCE-3505 allowed YARN_APPLICATION_CLASSPATH to be configurable. > However, we didn't add a default value to YarnConfiguration, as-is the norm. > Ran into it while investigating MAPREDUCE-4421. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira