hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Kiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9758) libhdfs++: Implement Python bindings
Date Fri, 29 Apr 2016 07:11:13 GMT

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

Tibor Kiss commented on HDFS-9758:
----------------------------------

Thanks for the detailed comments, [~James Clampffer]!

I’ve proposed Cython, cpppyy and Boost.Python simply because I thought we’d like to expose
the object oriented interface to Python.
If that’s not the case CTypes is surely the simplest option without imposing any dependency.

Cython would be beneficial if we would either need OO interfaces or we’d prefer performance
over programmer productivity.

As you already implemented a reasonable amount of code for CTypes I think it is best to extend
that further.
If you like I can pick up where you left off and finish the remaining calls and include python
tests.


> libhdfs++: Implement Python bindings
> ------------------------------------
>
>                 Key: HDFS-9758
>                 URL: https://issues.apache.org/jira/browse/HDFS-9758
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: James Clampffer
>         Attachments: hdfs_posix.py
>
>
> It'd be really useful to have bindings for various scripting languages.  Python would
be a good start because of it's popularity and how easy it is to interact with shared libraries
using the ctypes module.  I think bindings for the V8 engine that nodeJS uses would be a close
second in terms of expanding the potential user base.
> Probably worth starting with just adding a synchronous API and building from there to
avoid interactions with python's garbage collector until the bindings prove to be solid.



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

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


Mime
View raw message