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 "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2015/09/14 16:29:47 UTC

[jira] [Updated] (MAPREDUCE-6472) MapReduce AM should have java.io.tmpdir=./tmp to be consistent with tasks

     [ https://issues.apache.org/jira/browse/MAPREDUCE-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Naganarasimha G R updated MAPREDUCE-6472:
-----------------------------------------
    Attachment: MAPREDUCE-6472.20150914-1.patch

Hi [~jlowe], attaching a patch to this issue please check

> MapReduce AM should have java.io.tmpdir=./tmp to be consistent with tasks
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6472
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6472
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mr-am
>    Affects Versions: 2.6.0
>            Reporter: Jason Lowe
>            Assignee: Naganarasimha G R
>         Attachments: MAPREDUCE-6472.20150914-1.patch
>
>
> MapReduceChildJVM.getVMCommand ensures that all tasks have -Djava.io.tmpdir=./tmp set as part of the task command-line, but this is only used for tasks.  The AM itself does not have a corresponding java.io.tmpdir setting.  It should also use the same tmpdir setting to avoid cases where the AM JVM wants to place files in /tmp by default.



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