You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2019/10/21 11:57:00 UTC
[jira] [Created] (HADOOP-16665) Filesystems to be closed if they
failed during initialize()
Steve Loughran created HADOOP-16665:
---------------------------------------
Summary: Filesystems to be closed if they failed during initialize()
Key: HADOOP-16665
URL: https://issues.apache.org/jira/browse/HADOOP-16665
Project: Hadoop Common
Issue Type: Bug
Components: fs, fs/s3
Affects Versions: 3.1.3, 3.2.1
Reporter: Steve Loughran
We seen this with S3A but it is likely to apply to the other file systems too:
If the file system raises an exception during initialize() then it is not close()'d. Any resources threads etc created during initialisation may be leaked.
I'm going to fix S3A to clean up internally, but the FileSystem get() and newInstance() methods should also catch and close if an IOE or RTE is raised.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org