[ https://issues.apache.org/jira/browse/YARN-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814137#comment-13814137 ]
Xuan Gong commented on YARN-1320: --------------------------------- bq. I doubt if the patch is going to work if the remote file-system is HDFS. The propagation of the log4j properties file is via HDFS and it doesn't look like it is handled correctly. Please check. I set up a three node cluster locally and test it. It works. But I still make a little change. I believe the custom log4j should be application based. So, I change the code to upload file to user/appname/appid folder(the same position as we upload AppMaster.jar file) in file system instead of directly under /user folder. > 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 > Fix For: 2.2.1 > > 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)