Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.10.0
-
None
-
None
Description
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