Rohini Palaniswamy created MAPREDUCE-6576:
---------------------------------------------

             Summary: AM java.io.tmpdir should be set to $PWD/tmp
                 Key: MAPREDUCE-6576
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6576
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Rohini Palaniswamy


For tasks it is already done by MapReduceChildJVM 

{code}
Path childTmpDir = new Path(Environment.PWD.$(),
        YarnConfiguration.DEFAULT_CONTAINER_TEMP_DIR);
    vargs.add("-Djava.io.tmpdir=" + childTmpDir);
So it is only needed to be set for AM in launcher because of uber mode.
{code}

Need to do this in AM as well, so that running in uber mode does not go to 
default java.io.tmpdir of /tmp and fill up task nodes and not be cleanedup. 



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

Reply via email to