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 17:11:45 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14743651#comment-14743651 ] 

Naganarasimha G R commented on MAPREDUCE-6472:
----------------------------------------------

Basically  {{-Djava.io.tmpdir=$PWD/tmp}} will be configured similar to the MapReduceChildJVM.getVMCommand 

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