[ 
https://issues.apache.org/jira/browse/HADOOP-3754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620871#action_12620871
 ] 

dhruba borthakur commented on HADOOP-3754:
------------------------------------------

I included the thrift from http://developers.facebook.com/thrift/.

Also, make the shutdown from the python script more elegant. The python script 
creates a proxy server if the port is not specified. Also, the proxy server 
kills itself if the inactivity period is more than 1 hour (configurable). I 
would address Nitay's comments about particular files going inactive in a later 
release. 

If the proxy server is restarted, all existing client's connections would get 
an error. They would have to re-establish a new thrift connection to the proxy 
server. Thus, the proxy server does not have to persist the objectids, they get 
restarted from 100.

> 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, hadoopthrift5.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.

Reply via email to