hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-4997) libhdfs doesn't return correct error codes in most cases
Date Mon, 15 Jul 2013 23:08:49 GMT
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

Mime
View raw message