hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Clampffer (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (HDFS-11544) libhdfs++: Improve C API error reporting
Date Fri, 19 May 2017 19:58:04 GMT

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

James Clampffer reopened HDFS-11544:

Reopening until invalid access stuff is sorted out.  Reverse applied the patch to HDFS-8707.

> libhdfs++: Improve C API error reporting
> ----------------------------------------
>                 Key: HDFS-11544
>                 URL: https://issues.apache.org/jira/browse/HDFS-11544
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-11544.HDFS-8707.000.patch, HDFS-11544.HDFS-8707.001.patch
> The thread local string used for hdfsGetLastError wasn't reset between calls so it could
give stale results in confusing ways.  Now it gets reset with a placeholder that says that
<functionname> hasn't set an error string.
> Also fixed indentation that wasn't consistent + marked which functions are used by the
hdfs.h API and hdfs_ext.h API to make it easier to see when changes could break compatibility.
 Included some minor cleanup for the common case catch blocks.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message