You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wojciech Langiewicz (JIRA)" <ji...@apache.org> on 2010/11/24 16:31:17 UTC

[jira] Updated: (HADOOP-6463) Uninformative error message for some sort of file permission problem from the hadoop command

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

Wojciech Langiewicz updated HADOOP-6463:
----------------------------------------

    Status: Patch Available  (was: Open)

I think I have found this, but this belongs to HDFS project. This is my first patch, so I'm not sure if I'm correct.

> Uninformative error message for some sort of file permission problem from the hadoop command
> --------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6463
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6463
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.20.1
>            Reporter: Benson Margulies
>         Attachments: HADOOP-6463.patch
>
>
> It would be better if this error message would include the pathname for which permission was denied.
> benson@cn0:/u1/benson/hadoop-test$ /u1/hadoop/bin/hadoop jar /u1/hadoop/hadoop-0.20.1-examples.jar wordcount /users/benson/gutenberg /users/benson/gutenberg-output
> Exception in thread "main" java.io.IOException: Permission denied
> 	at java.io.UnixFileSystem.createFileExclusively(Native Method)
> 	at java.io.File.checkAndCreate(File.java:1716)
> 	at java.io.File.createTempFile(File.java:1804)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:115)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.