[ 
https://issues.apache.org/jira/browse/SPARK-25766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16655574#comment-16655574
 ] 

Marcelo Vanzin commented on SPARK-25766:
----------------------------------------

That code doesn't exist anymore in 2.4... there could be a similar issue in 
{{HadoopFSDelegationTokenProvider}}, though.

> AMCredentialRenewer can leak FS clients
> ---------------------------------------
>
>                 Key: SPARK-25766
>                 URL: https://issues.apache.org/jira/browse/SPARK-25766
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 2.4.0
>            Reporter: Steve Loughran
>            Priority: Trivial
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to