[
https://issues.apache.org/jira/browse/HDFS-11544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410461#comment-16410461
]
Hudson commented on HDFS-11544:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13869 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/13869/])
HDFS-11544: libhdfs++: Improve C API error reporting. Contributed by
(james.clampffer: rev fdb88eb57e18273d31681d31202320da0b0ca61e)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/bindings/c/hdfs.cc
HDFS-11544: libhdfs++: Revert HDFS-11544.HDFS-8707.001.patch due to
(james.clampffer: rev 52445fd4ee73df0bd113e257fb4435796241486e)
* (edit)
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/bindings/c/hdfs.cc
> 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
> Priority: Major
> Attachments: HDFS-11544.HDFS-8707.000.patch,
> HDFS-11544.HDFS-8707.001.patch, HDFS-11544.HDFS-8707.002.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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]