[ 
https://issues.apache.org/jira/browse/HADOOP-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550328
 ] 

dhruba borthakur commented on HADOOP-834:
-----------------------------------------

Hello Craig,

Thanks for your comments. I completely agree with you that NFS-v2 is not of 
much use today. It would be really nice if you can contribute the code you have 
written for NFS-v3. Is this NFS v3 server written in Java? 

You are right in stating that HDFS currently does not support random writes. 
Once a file is created, written and closed, it cannot be changed. Your approach 
of caching writes locally and then writing it to HDFS might work, as long as 
the writes are in the same HDFS block, isn't it?

By the way, a new feature "ability to reopen a HDFS file and append data to it" 
is under the works and might be coming soon, see HADOOP-1700.

Please let me know if I can help in any way in getting your NFS-v3 server 
hooked into HDFS.

> Export the HDFS file system through a NFS protocol
> --------------------------------------------------
>
>                 Key: HADOOP-834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-834
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: nfshadoop.tar.gz
>
>
> It would be nice if can expose the HDFS filesystem using the NFS protocol.
> There are a couple of options that I could find:
> 1. Use a user space C-language-implementation of a NFS server and then use 
> the libhdfs API to integrate that code with Hadoop. There is such an 
> implementation available at 
> http://sourceforge.net/project/showfiles.php?group_id=66203.
> 2.  Use a user space Java implementation of a NFS server and then integrate 
> it with HDFS using Java API. There is such an implementation of NFS server at 
> http://void.org/~steven/jnfs/.
> I have experimented with Option 2 and have written a first version of the 
> Hadoop integration. I am attaching the code for your preliminary feedback. 
> This implementation of the Java NFS server has one limitation: it supports 
> UDP only. Some licensing issues will have to be sorted out before it can be 
> used.  Steve (the writer of the NFS server implemenation) has told me that he 
> can change the licensing of the code if needed.
>  

-- 
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