[
https://issues.apache.org/jira/browse/HADOOP-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620295#action_12620295
]
Pete Wyckoff commented on HADOOP-3754:
--------------------------------------
Hi Steve,
Regarding #3, thrift is a thin library and as such is a lot lighter than
requiring Hadoop RPC which uses reflection and thus must basically be kept in
perfect sync with the server side's code (yes, 19 has separate jars, but the
client jar isn't very full featured i bet). Thrift gives you the advantage of
tight integration (ie well-defined APIs) whilst still providing pretty loose
coupling, although, of course, not as loose as REST. With thrift, one can work
on data structures and thrift does provide some REST-like interfaces too. I
think REST may be good for some things like just asking for job status and
such, but doesn't provide robust enough APIs as thrift, which could provide a
better alternative RPC to remote reflection in addition to providing something
for thin clients. And thrift has bindings in literally about 20 languages.
Although I guess protocol buffers are an alternative too now that they are open
sourced :) but, I think they only have C, Java and Python bindings.
pete
> 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: hadoopthrift2.patch, hadoopthrift3.patch,
> hadoopthrift4.patch, 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.