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

Hudson commented on HDFS-5171:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #4655 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/4655/])
HDFS-5171. NFS should create input stream for a file and try to share it with 
multiple read requests. Contributed by Haohui Mai (brandonli: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1535586)
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/nfs3/TestDFSClientCache.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> NFS should create input stream for a file and try to share it with multiple 
> read requests
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-5171
>                 URL: https://issues.apache.org/jira/browse/HDFS-5171
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>            Reporter: Brandon Li
>            Assignee: Haohui Mai
>         Attachments: HDFS-5171.000.patch, HDFS-5171.001.patch
>
>
> Currently, NFS creates an input steam for each read request and closes it 
> after the request is served. With lots of read request, the overhead is 
> significant. 
> Like for write request, NFS should create input stream for a file and try to 
> share it with multiple read requests. The stream can be closed if there is no 
> read request for a certain amount of time (e.g., 10 sec).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to