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

ASF GitHub Bot commented on HADOOP-18397:
-----------------------------------------

steveloughran commented on PR #4722:
URL: https://github.com/apache/hadoop/pull/4722#issuecomment-1212963511

   unbuffer underflow, but the read() apis used are needed for coverage. don't 
worry too much there




> 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
>
> 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]

Reply via email to