[ https://issues.apache.org/jira/browse/HDFS-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417612#comment-13417612 ]
Andy Isaacson commented on HDFS-3675: ------------------------------------- +1 lgtm. Thanks! > libhdfs: follow documented return codes > --------------------------------------- > > Key: HDFS-3675 > URL: https://issues.apache.org/jira/browse/HDFS-3675 > Project: Hadoop HDFS > Issue Type: Bug > Components: libhdfs > Affects Versions: 2.0.1-alpha > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Minor > Attachments: HDFS-3675.001.patch, HDFS-3675.002.patch > > > libhdfs should follow its own documentation for return codes. This means > always setting errno, and in most cases returning -1 (not some other value) > on error. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira