You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/07 17:10:00 UTC
[jira] [Commented] (HADOOP-18623) S3A delegation token implementations to be able to update tokens from the user credentials
[ https://issues.apache.org/jira/browse/HADOOP-18623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685386#comment-17685386 ]
ASF GitHub Bot commented on HADOOP-18623:
-----------------------------------------
steveloughran opened a new pull request, #5365:
URL: https://github.com/apache/hadoop/pull/5365
### Description of PR
Adds the production side changes; no tests
### How was this patch tested?
will let yetus do that
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
> 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
>
> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org