You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/07/16 01:08:49 UTC

[jira] [Created] (HDFS-4997) libhdfs doesn't return correct error codes in most cases

Colin Patrick McCabe created HDFS-4997:
------------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira