[ https://issues.apache.org/jira/browse/HDFS-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804759#comment-13804759 ]
Brandon Li commented on HDFS-5171: ---------------------------------- +1. Nits: it would be nice if we can have more unit tests to cover the retry-related corner cases. I am ok if you think the unit test can be tracked by a different JIRA. > 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)