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:37:46 UTC
[jira] [Updated] (MAPREDUCE-6576) AM java.io.tmpdir should be set
to $PWD/tmp
[ https://issues.apache.org/jira/browse/MAPREDUCE-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohini Palaniswamy updated MAPREDUCE-6576:
------------------------------------------
Labels: newbie (was: )
> 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
> Labels: newbie
>
> 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)