hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Dahiya (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-864) bin/hadoop jar throws file creation exception for temp files
Date Mon, 08 Jan 2007 05:16:28 GMT

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

Sanjay Dahiya updated HADOOP-864:
---------------------------------

    Assignee: Sanjay Dahiya
      Status: Patch Available  (was: Open)

> bin/hadoop jar throws file creation exception for temp files
> ------------------------------------------------------------
>
>                 Key: HADOOP-864
>                 URL: https://issues.apache.org/jira/browse/HADOOP-864
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Sanjay Dahiya
>         Assigned To: Sanjay Dahiya
>            Priority: Minor
>         Attachments: Hadoop-864.patch
>
>
> bin/hadoop throw file creation exception if hadoop.tmp.dir doesn't exist. 
> $ bin/hadoop jar build/hadoop-streaming.jar 
> 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:1345)
>         at java.io.File.createTempFile(File.java:1434)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:109)
> it should create the hadoop.tmp.dir before trying File.createTempFile

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message