You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2019/11/12 18:20:00 UTC
[jira] [Resolved] (HADOOP-16665) Filesystems to be closed if they
failed during initialize()
[ https://issues.apache.org/jira/browse/HADOOP-16665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran resolved HADOOP-16665.
-------------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
> 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.2.1, 3.1.3
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Fix For: 3.3.0
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org