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/02 23:21:49 UTC

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

Rohini Palaniswamy created OOZIE-2260:
-----------------------------------------

             Summary: 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


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)