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

Hari Mankude commented on HDFS-4750:
------------------------------------

I would recommend thinking through NFS write operations. The client does 
caching and page cache can result in lots of weirdness. For example, as long as 
the data is cached in client's page cache, client can do random writes and 
overwrites. When page cache is flushed to hdfs data store, some writes would 
fail (translate to overwrites in hdfs) while others might succeed (offsets 
happen to be append). 

An alternative to consider to support NFS writes is to require clients do NFS 
mounts with directio enabled. Directio will bypass client cache and might 
alleviate some of the funky behavior.


                
> Support NFSv3 interface to HDFS
> -------------------------------
>
>                 Key: HDFS-4750
>                 URL: https://issues.apache.org/jira/browse/HDFS-4750
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HADOOP-NFS-Proposal.pdf
>
>
> Access HDFS is usually done through HDFS Client or webHDFS. Lack of seamless 
> integration with client’s file system makes it difficult for users and 
> impossible for some applications to access HDFS. NFS interface support is one 
> way for HDFS to have such easy integration.
> This JIRA is to track the NFS protocol support for accessing HDFS. With HDFS 
> client, webHDFS and the NFS interface, HDFS will be easier to access and be 
> able support more applications and use cases. 
> We will upload the design document and the initial implementation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to