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: [email protected]
For additional commands, e-mail: [email protected]