[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193408#comment-13193408
 ] 

Jonathan Eagles commented on MAPREDUCE-3716:
--------------------------------------------

There are differences in 23+ about tmp dir location now being under the current 
working dir. Due to this, could not add back the tmp dir creation in 
MapReduceChildJVM.java. Opted to move the tmp dir creation to the 
DefaultContainerExecutor/container-executor with the rest of the directory 
creation. Had difficulty adding tests for this since DefaultContainerExecutor 
tests are disabled. 
                
> 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, 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

        

Reply via email to