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

Ryota Egashira commented on OOZIE-2260:
---------------------------------------

amend patch committed to trunk,  thanks for review

> Only set "java.io.tmpdir" to "./tmp"  for the AM
> ------------------------------------------------
>
>                 Key: OOZIE-2260
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2260
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Rohini Palaniswamy
>            Assignee: Ryota Egashira
>             Fix For: trunk
>
>         Attachments: OOZIE-2260-amend.patch, OOZIE-2260.patch
>
>
> OOZIE-2209 sets java.io.tmpdir to ./tmp for AM, map and reduce for both 
> launcher and action jobs.
> MapReduceChildJVM already sets java.io.tmpdir to ./tmp
> {code}
> Path childTmpDir = new Path(Environment.PWD.$(),
>         YarnConfiguration.DEFAULT_CONTAINER_TEMP_DIR);
>     vargs.add("-Djava.io.tmpdir=" + childTmpDir);
> {code}
> So it is only needed to be set for AM in launcher because of uber mode. 



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

Reply via email to