Description
When you see a stack trace about permissions, it is better if the trace included the file/directory at fault:
Exception in thread "main" java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1792)
at org.apache.hadoop.util.RunJar.main(RunJar.java:147)
As it is, you need to go into the code, discover that it's ${hadoop.tmp.dir}/hadoop-unjar, but you need to know the value of hadoop.tmp.dir to really find out what the problem is.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-7843 compilation failing because workDir not initialized in RunJar.java
- Closed