Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D2701015C for ; Fri, 25 Oct 2013 13:34:34 +0000 (UTC) Received: (qmail 20199 invoked by uid 500); 25 Oct 2013 13:34:33 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 19991 invoked by uid 500); 25 Oct 2013 13:34:32 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 19789 invoked by uid 99); 25 Oct 2013 13:34:31 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 13:34:31 +0000 Date: Fri, 25 Oct 2013 13:34:31 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5171) NFS should create input stream for a file and try to share it with multiple read requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805293#comment-13805293 ] Hudson commented on HDFS-5171: ------------------------------ FAILURE: Integrated in Hadoop-Hdfs-trunk #1563 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1563/]) 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 > Fix For: 2.2.1 > > 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)