[
https://issues.apache.org/jira/browse/HADOOP-18397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17579000#comment-17579000
]
ASF GitHub Bot commented on HADOOP-18397:
-----------------------------------------
steveloughran commented on PR #4722:
URL: https://github.com/apache/hadoop/pull/4722#issuecomment-1213185521
merged to branch-3.3. too. thanks
> Shutdown AWSSecurityTokenService when its resources are no longer in use
> ------------------------------------------------------------------------
>
> Key: HADOOP-18397
> URL: https://issues.apache.org/jira/browse/HADOOP-18397
> Project: Hadoop Common
> Issue Type: Task
> Components: fs/s3
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0, 3.3.9
>
>
> AWSSecurityTokenService resources can be released whenever they are no longer
> in use. The documentation of AWSSecurityTokenService#shutdown says while it
> is not important for client to compulsorily shutdown the token service,
> client can definitely perform early release whenever client no longer
> requires token service resources. We achieve this by making STSClient
> closable, so we can certainly utilize it in all places where it's suitable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]