You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2014/09/08 23:42:31 UTC
[jira] [Comment Edited] (HDFS-6994) libhdfs3 - A native C/C++ HDFS
client
[ https://issues.apache.org/jira/browse/HDFS-6994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126155#comment-14126155 ]
Haohui Mai edited comment on HDFS-6994 at 9/8/14 9:42 PM:
----------------------------------------------------------
bq. This code doesn't use boost::asio.
Thanks for the clarification. I think in terms of whether boost should be used, either way is fine with me.
bq. For CentOS 6, it's not as simple as just "upgrade the compiler." Binaries generated with a C++ 11 compiler will pull in a newer version of libstdc++ than those generated with the earlier compiler.
The way I used to handle this issue is to pull clang and libc+\+, and compile the code with a statically linked stdc++ . Many different Linux distros have slightly different stdc++ , this is the path I found in practice with least amount of pain when dealing with the compiler issue.
was (Author: wheat9):
bq. This code doesn't use boost::asio.
Thanks for the clarification. I think in terms of whether boost should be used, either way is fine with me.
bq. For CentOS 6, it's not as simple as just "upgrade the compiler." Binaries generated with a C++11 compiler will pull in a newer version of libstdc++ than those generated with the earlier compiler.
The way I used to handle this issue is to pull clang and libc++, and compile the code with a statically linked stdc++. Many different Linux distros have slightly different stdc++, this is the path I found in practice with least amount of pain when dealing with the compiler issue.
> libhdfs3 - A native C/C++ HDFS client
> -------------------------------------
>
> Key: HDFS-6994
> URL: https://issues.apache.org/jira/browse/HDFS-6994
> Project: Hadoop HDFS
> Issue Type: Task
> Components: hdfs-client
> Reporter: Zhanwei Wang
> Attachments: HDFS-6994-rpc-8.patch, HDFS-6994.patch
>
>
> Hi All
> I just got the permission to open source libhdfs3, which is a native C/C++ HDFS client based on Hadoop RPC protocol and HDFS Data Transfer Protocol.
> libhdfs3 provide the libhdfs style C interface and a C++ interface. Support both HADOOP RPC version 8 and 9. Support Namenode HA and Kerberos authentication.
> libhdfs3 is currently used by HAWQ of Pivotal
> I'd like to integrate libhdfs3 into HDFS source code to benefit others.
> You can find libhdfs3 code from github
> https://github.com/PivotalRD/libhdfs3
> http://pivotalrd.github.io/libhdfs3/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)