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:54:46 UTC

[jira] [Resolved] (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 resolved MAPREDUCE-6576.
-------------------------------------------
    Resolution: Duplicate

My bad. I thought I did not report this. But found that [~jlowe] had already reported this in MAPREDUCE-6472 and it is fixed in 2.7.2

> 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)