hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3844) Problem in setting the childTmpDir in MapReduceChildJVM
Date Fri, 10 Feb 2012 02:28:00 GMT

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

Tom White commented on MAPREDUCE-3844:
--------------------------------------

+1 pending jenkins
                
> Problem in setting the childTmpDir in MapReduceChildJVM
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-3844
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3844
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0, 0.23.1
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>            Priority: Blocker
>         Attachments: MAPREDUCE-3844.patch, MAPREDUCE-3844_rev2.patch
>
>
> We have seen this issue during a Hive test. Where Hive tries to create a temp file using
File.createTempFile(..) and it throws:
> {code}
> Exception in thread "main" java.io.IOException: No such file or directory
> 	at java.io.UnixFileSystem.createFileExclusively(Native Method)
> 	at java.io.File.checkAndCreate(File.java:1704)
> 	at java.io.File.createTempFile(File.java:1792)
> 	at java.io.File.createTempFile(File.java:1828)
> 	at Test.main(Test.java:13)
> {code}
> Because it literally sees "$PWD/tmp" as the temp directory path.
> $PWD need to be evaluated before being used in setting the property "java.io.tmpdir"
in MapReduceChildJVM.java.

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

        

Mime
View raw message