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 "Jonathan Eagles (Updated) (JIRA)" <ji...@apache.org> on 2012/01/25 23:21:38 UTC

[jira] [Updated] (MAPREDUCE-3716) java.io.File.createTempFile fails in map/reduce tasks

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

Jonathan Eagles updated MAPREDUCE-3716:
---------------------------------------

    Attachment: TestRandomWriter.patch

Adding a patch that illustrates the error.

Example:
hadoop jar hadoop-mapreduce-examples-0.23.1-SNAPSHOT.jar randomwriter -Dmapreduce.randomwriter.mapsperhost=1 /rw1
                
> 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: 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