[ https://issues.apache.org/jira/browse/HADOOP-18807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17744533#comment-17744533 ]
ASF GitHub Bot commented on HADOOP-18807: ----------------------------------------- zhangshuyan0 commented on code in PR #5847: URL: https://github.com/apache/hadoop/pull/5847#discussion_r1267885350 ########## hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFileSystemClose.java: ########## @@ -17,26 +17,26 @@ */ package org.apache.hadoop.fs.viewfs; +import static org.apache.hadoop.test.LambdaTestUtils.intercept; Review Comment: Fixed. > Close child file systems in ViewFileSystem when cache is disabled. > ------------------------------------------------------------------ > > Key: HADOOP-18807 > URL: https://issues.apache.org/jira/browse/HADOOP-18807 > Project: Hadoop Common > Issue Type: Bug > Reporter: Shuyan Zhang > Priority: Major > Labels: pull-request-available > > When the cache is configured to disabled (namely, > `fs.viewfs.enable.inner.cache=false` and `fs.*.impl.disable.cache=true`), > even if `FileSystem.close()` is called, the client cannot truly close the > child file systems in a ViewFileSystem. This caused our long-running clients > to constantly produce resource leaks. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org