hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3754) Support a Thrift Interface to access files/directories in HDFS
Date Mon, 14 Jul 2008 08:51:33 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

dhruba borthakur updated HADOOP-3754:

    Attachment: thrift1.patch

This patch exposes a Thrift API from the FileSystem client. This is not the most optimal solution.
A better and more-performant solution would be to expose Thrift APIs from the Datanode and
NameNode directly. 

This patch  requires that a FileSystemClientProxy server be started to expose the Thrift API.
The code is, at  this point, more a demonstration and proof-of-concept, rather than a finished
piece of development. The Thrift API is a subset of the FileSystem API at present.

The Hadoop Thrift API is in src/contrib/thrift/if. Running "ant package" should compile all
that is required. The FileSystemProxyClient can be started by running src/contrib/thrift/start_thrift_server.sh.
There is a python command line interface hdfs.py that is used to demonstrate that a python
client can use the Thrift FileSystem API.

More information about thrift can be found at http://incubator.apache.org/thrift/index.html

> Support a Thrift Interface to access files/directories in HDFS
> --------------------------------------------------------------
>                 Key: HADOOP-3754
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3754
>             Project: Hadoop Core
>          Issue Type: New Feature
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: thrift1.patch
> Thrift is a cross-language RPC framework. It supports automatic code generation for a
variety of languages (Java, C++, python, PHP, etc) It would be nice if HDFS APIs are exposed
though Thirft. It will allow applications written in any programming language to access HDFS.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message