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 "Ahmed Radwan (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/11 00:02:59 UTC
[jira] [Resolved] (MAPREDUCE-3844) Problem in setting the
childTmpDir in MapReduceChildJVM
[ https://issues.apache.org/jira/browse/MAPREDUCE-3844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ahmed Radwan resolved MAPREDUCE-3844.
-------------------------------------
Resolution: Fixed
Confirming it is a duplicate for MAPREDUCE-3716. Closing.
> 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