Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.7.0, 2.6.1
-
None
Description
Recently saw a ResourceManager go into heavy GC. Heap dump showed that there were millions of delegation tokens on the heap. It looks like most of them belonged to the appTokens map in DelegationTokenRenewer. When an app completes and tokens are removed for it, I noticed that the appTokens entry for the app is not cleaned up if tokens were shared with other active apps.