Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.12.0
-
None
-
None
Description
The ClientFinalizer shutdown hook is not used.
This can lead to severe memory leaks if you use the DFSClient in a dynamic class loading context (such as in a webapp) as the DFSClient.ClientFinalizer class is retained in the memory by the shutdown hook. It retains also the current ClassLoader and thus all classes loaded by the ClassLoader. (Threads put in the shutdown hook are never garbage collected).
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-2087 Errors for subsequent requests for file creation after original DFSClient goes down..
- Closed