You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2015/12/16 21:35:46 UTC
[jira] [Created] (MAPREDUCE-6576) AM java.io.tmpdir should be set
to $PWD/tmp
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)