-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 0.23.3, 2.0.0-alpha
-
Fix Version/s: 0.23.3, 2.0.2-alpha
-
Component/s: hdfs-client
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
If LeaseRenewer#closeClient() is not called, LeaseRenewer keeps the reference to a DFSClient instance in dfsclients forever. This prevents DFSClient, LeaseRenewer, conf, etc. from being garbage collected, leading to memory leak.
LeaseRenewer should remove the reference after some delay, if a DFSClient instance no longer has active streams.