Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.18.1, 0.18.2, 0.19.0, 0.19.1, 0.20.0
-
None
-
Incompatible change
-
Every invocation of FileSystem.newInstance() returns a newly allocated FileSystem object. This may be an incompatible change for applications that relied on FileSystem object identity.
Description
FileSystem.CACHE is not ref-counted, and could lead to resource leakage.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-422 fuse-dfs leaks FileSystem handles as it never disconnects them because the FileSystem.Cache does not do reference counting
- Resolved
- is related to
-
MAPREDUCE-1900 MapReduce daemons should close FileSystems that are not needed anymore
- Closed
-
HADOOP-10792 Add FileSystem#closeIfNotReferred method
- Resolved