Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The signature of strerror_r is not quite detected correctly in libhdfs3. The code assumes that int foo = strerror_r will fail to compile with the GNU type signature, but this is not the case (C++ will coerce the char* to an int in this case). Instead, we should do what the libhdfs terror (threaded error) function does here.
Attachments
Issue Links
- relates to
-
HDFS-7360 Test libhdfs3 against MiniDFSCluster
- In Progress