Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.3.5
-
None
Description
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.
Attachments
Issue Links
- links to