hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Hansen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8766) Implement a libhdfs(3) compatible API
Date Tue, 27 Oct 2015 22:33:27 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977288#comment-14977288
] 

Bob Hansen commented on HDFS-8766:
----------------------------------

{code}
   third_party/asio-1.10.2/include
   third_party/gmock-1.7.0
   ${OPENSSL_INCLUDE_DIR}
+  ../libhdfs/include
 {code}

It would be good to make this a named variable that can be overridden, but I think we should
capture that in a "make libhdfs++ build to be configurable outside of the Hadoop tree" Jira.

I agree with Haohui that the hdfs_cpp code should live in lib/fs, and I also agree with James
that that can be the purview of HDFS-9144.

I can see the templated async-to-sync work being tricky, especially given the gcc bug.  I'll
see if I can poke at it.  Do you have a reference to that bug for my own edification?

+1, and we can capture the outstanding work in new Jiras.

> Implement a libhdfs(3) compatible API
> -------------------------------------
>
>                 Key: HDFS-8766
>                 URL: https://issues.apache.org/jira/browse/HDFS-8766
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>            Assignee: James Clampffer
>         Attachments: HDFS-8766.HDFS-8707.000.patch, HDFS-8766.HDFS-8707.001.patch, HDFS-8766.HDFS-8707.002.patch,
HDFS-8766.HDFS-8707.003.patch, HDFS-8766.HDFS-8707.004.patch, HDFS-8766.HDFS-8707.005.patch,
HDFS-8766.HDFS-8707.006.patch, HDFS-8766.HDFS-8707.007.patch, HDFS-8766.HDFS-8707.008.patch,
HDFS-8766.HDFS-8707.009.patch, HDFS-8766.HDFS-8707.010.patch
>
>
> Add a synchronous API that is compatible with the hdfs.h header used in libhdfs and libhdfs3.
 This will make it possible for projects using libhdfs/libhdfs3 to relink against libhdfspp
with minimal changes.
> This also provides a pure C interface that can be linked against projects that aren't
built in C++11 mode for various reasons but use the same compiler.  It also allows many other
programming languages to access libhdfspp through builtin FFI interfaces.
> The libhdfs API is very similar to the posix file API which makes it easier for programs
built using posix filesystem calls to be modified to access HDFS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message