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

Eli Collins updated HDFS-858:
-----------------------------

    Attachment: HDFS-858-2.patch

+1 Looks good. I've attached a slightly modified patch that does a little more 
cleanup of error messages. Passes test-c++-libhdfs.

> Incorrect return codes for fuse-dfs
> -----------------------------------
>
>                 Key: HDFS-858
>                 URL: https://issues.apache.org/jira/browse/HDFS-858
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>            Reporter: Brian Bockelman
>            Priority: Minor
>         Attachments: HDFS-858-2.patch, HDFS-858.patch
>
>
> fuse-dfs doesn't pass proper error codes from libhdfs; places I'd like to 
> correct are hdfsFileOpen (which can result in permission denied or quota 
> violations) and hdfsWrite (which can result in quota violations).
> By returning the correct error codes, command line utilities return much 
> better error messages - especially for quota violations, which can be a devil 
> to debug.

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

Reply via email to