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

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

github-actions[bot] closed pull request #5365: HADOOP-18623. S3A delegation 
token implementations to be able to update tokens
URL: https://github.com/apache/hadoop/pull/5365




> S3A delegation token implementations to be able to update tokens from the 
> user credentials
> ------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-18623
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18623
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs/s3
>    Affects Versions: 3.3.5
>            Reporter: Steve Loughran
>            Priority: Minor
>              Labels: pull-request-available
>
> Spark never renews tokens, instead it can create new ones and attach them to 
> the current users credentials.
> This means long-running S3A instances which can pick up new 
> tokens/credentials need a way to look for new tokens in the credential chain.
> Proposed
> * class AbstractDelegationTokenBinding adds a CallableRaisingIOE field which 
> can be updated with a callback
> * S3ADelegationTokens to add method boolean maybeUpdateTokenFromOwner() to 
> look for any new token and switch to it if new
> * S3ADelegationTokens serviceInit() to pass the method down to the 
> instantiated DT binding as the callback
> It is up to the token binding implementation to decide what to do about it; 
> the standard implementations will do: nothing. 



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