[ https://issues.apache.org/jira/browse/HDFS-5364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816399#comment-13816399 ]
Hadoop QA commented on HDFS-5364: --------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12612683/HDFS-5364.008.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 4 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs-nfs. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/5356//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/5356//console This message is automatically generated. > Add OpenFileCtx cache > --------------------- > > Key: HDFS-5364 > URL: https://issues.apache.org/jira/browse/HDFS-5364 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: nfs > Reporter: Brandon Li > Assignee: Brandon Li > Attachments: HDFS-5364.001.patch, HDFS-5364.002.patch, > HDFS-5364.003.patch, HDFS-5364.004.patch, HDFS-5364.005.patch, > HDFS-5364.006.patch, HDFS-5364.007.patch, HDFS-5364.008.patch > > > NFS gateway can run out of memory when the stream timeout is set to a > relatively long period(e.g., >1 minute) and user uploads thousands of files > in parallel. Each stream DFSClient creates a DataStreamer thread, and will > eventually run out of memory by creating too many threads. > NFS gateway should have a OpenFileCtx cache to limit the total opened files. -- This message was sent by Atlassian JIRA (v6.1#6144)