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 E941A10D1E for ; Thu, 21 Nov 2013 04:17:09 +0000 (UTC) Received: (qmail 68831 invoked by uid 500); 21 Nov 2013 04:16:13 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 68751 invoked by uid 500); 21 Nov 2013 04:16:04 -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 68693 invoked by uid 99); 21 Nov 2013 04:15:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Nov 2013 04:15:53 +0000 Date: Thu, 21 Nov 2013 04:15:53 +0000 (UTC) From: "Xuan Gong (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1320) Custom log4j properties in Distributed shell does not work properly. 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-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828478#comment-13828478 ] Xuan Gong commented on YARN-1320: --------------------------------- bq. Seems like we don't need to pass anything to the AM. AM can verify if a file by name log4j.properties exists and use it. So, the cmd line option log_properties to AM can be removed. REMOVED bq. In the client, you can use the "logj4Path" constant while setting up the localResource. Changed bq.Link this JIRA to YARN-1303 and reuse test-code? We can re-use the code > Custom log4j properties in Distributed shell does not work properly. > -------------------------------------------------------------------- > > Key: YARN-1320 > URL: https://issues.apache.org/jira/browse/YARN-1320 > Project: Hadoop YARN > Issue Type: Bug > Components: applications/distributed-shell > Reporter: Tassapol Athiapinya > Assignee: Xuan Gong > Attachments: YARN-1320.1.patch, YARN-1320.2.patch, YARN-1320.3.patch, YARN-1320.4.patch, YARN-1320.4.patch, YARN-1320.4.patch, YARN-1320.4.patch, YARN-1320.4.patch, YARN-1320.5.patch, YARN-1320.6.patch, YARN-1320.6.patch, YARN-1320.7.patch, YARN-1320.8.patch > > > Distributed shell cannot pick up custom log4j properties (specified with -log_properties). It always uses default log4j properties. -- This message was sent by Atlassian JIRA (v6.1#6144)