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

Todd Lipcon updated HDFS-4997:
------------------------------

    Target Version/s:   (was: )
        Release Note: libhdfs now returns correct codes in errno. Previously, 
due to a bug, many functions set errno to 255 instead of the more specific 
error code.
        Hadoop Flags: Incompatible change,Reviewed

> libhdfs doesn't return correct error codes in most cases
> --------------------------------------------------------
>
>                 Key: HDFS-4997
>                 URL: https://issues.apache.org/jira/browse/HDFS-4997
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-4997.001.patch
>
>
> libhdfs has some code to translate Java exceptions into C error codes.  
> Unfortunately, the exceptions are returned to us in "dotted" format, but the 
> code is expecting them to be in "slash-separated" format.  This results in 
> most exceptions just leading to a generic error code.
> We should fix this and add a unit test to ensure this continues to work.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to