[ 
https://issues.apache.org/jira/browse/YARN-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15447882#comment-15447882
 ] 

Tao Jie commented on YARN-5574:
-------------------------------

I don't see any difference when I set "yarn.log.dir" or not in this testcase.
Even I set this into system property as {{System.setProperty("yarn.log.dir", 
"aaa");}}, nothing is written into this dir. It seems that 
{{conf.set("yarn.log.dir", "target");}} here does not work in any case.

> TestDistributedShell sets yarn.log.dir in the configuration instead of as a 
> system property
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-5574
>                 URL: https://issues.apache.org/jira/browse/YARN-5574
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 2.8.0
>            Reporter: Daniel Templeton
>
> In the {{setupInternal()}} method, the distributed shell has this line:
> {code}
>     conf.set("yarn.log.dir", "target");
> {code}
> Everywhere else that "yarn.log.dir" is used, it's set as a system property.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to