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

Haohui Mai commented on HDFS-5171:
----------------------------------

Yes. Let's track it in a different jira. It would be nice if we can do this 
unit test along with several retry-logic in NFS.

> 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