[ 
https://issues.apache.org/jira/browse/HDFS-9627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088336#comment-15088336
 ] 

Bob Hansen commented on HDFS-9627:
----------------------------------

Quick comments:
Should libhdfspp.h live in bindings/c?

Minor nitpick:
Tests should probably be using EXPECT_EQ(expected value, test value) rather 
than ASSERT(ex == test)



> libhdfs++: Add a mechanism to retrieve human readable error messages through 
> the C API
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-9627
>                 URL: https://issues.apache.org/jira/browse/HDFS-9627
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-9627.HDFS-8707.000.patch
>
>
> Libhdfs doesn't have this but libhdfs3 has a "hdfsGetLastErrorString" 
> function.  The C API needs to be able to pass out error messages that are 
> more specific than what errno can provide.
> This functionality should be exposed via a new public header in order to keep 
> hdfs.h consistent with the libhdfs header.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to