You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2015/06/09 00:53:00 UTC

[jira] [Commented] (OOZIE-2260) Only set "java.io.tmpdir" to "./tmp" for the AM

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

Rohini Palaniswamy commented on OOZIE-2260:
-------------------------------------------

+1 Pending jenkins

> 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
>            Reporter: Rohini Palaniswamy
>            Assignee: Ryota Egashira
>             Fix For: trunk
>
>         Attachments: 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)