[
https://issues.apache.org/jira/browse/HDFS-17089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743547#comment-17743547
]
ASF GitHub Bot commented on HDFS-17089:
---------------------------------------
zhangshuyan0 opened a new pull request, #5847:
URL: https://github.com/apache/hadoop/pull/5847
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
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.
### How was this patch tested?
Add a new unit test.
> Close child files systems in ViewFileSystem when cache is disabled.
> -------------------------------------------------------------------
>
> Key: HDFS-17089
> URL: https://issues.apache.org/jira/browse/HDFS-17089
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Shuyan Zhang
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]