Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Not A Problem
-
2.4.0
-
None
-
None
Description
AMCredentialRenewer's scheduled writeNewCredentialsToHDFS operation creates a new FS connector each time, so as to access the store with refreshed credentials
but it doesn't close it after, so any resources used by the client are kept around. This is more expensive with the cloud store connectors which create thread pools.
It should call remoteFs.close() at the end of its work.