[
https://issues.apache.org/jira/browse/MAPREDUCE-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196517#comment-13196517
]
Jonathan Eagles commented on MAPREDUCE-3716:
--------------------------------------------
bq. * definitely remove "mapreduce.task.tmp.dir" from mapped-default.xml
done
bq. * declare this a YARN level constant and use this throughout -
MapReduceChildJVM, DefaultContainerExecutor
done
bq. * emit a warning in JobClient if someone configures it to be other than
"./tmp".
done mapreduce.task.tmp.dir is marked a final var and produces a warning
bq. * Also, a test for this is useful, please see if you can port
TestMiniMRChildTask to MiniMRYarnCluster.
done. ported the TestMiniMRChildTask#testTaskTempDir
> java.io.File.createTempFile fails in map/reduce tasks
> -----------------------------------------------------
>
> Key: MAPREDUCE-3716
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3716
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Jonathan Eagles
> Assignee: Jonathan Eagles
> Priority: Blocker
> Attachments: MAPREDUCE-3716.patch, MAPREDUCE-3716.patch,
> TestRandomWriter.patch
>
>
> container-launch.sh specifies java option java.io.tmpdir when executing the
> java process for the child container but fails to create the tmpdir. All uses
> of createTempFile and other commands relying on java.io.tmpdir will fail when
> called from child container jvms.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira