public interface DelegationTokenManager
When delegation token renewal is enabled, this manager will make sure long-running apps can run without interruption while accessing secured services. It must contact all the configured secure services to obtain delegation tokens to be distributed to the rest of the application.
Modifier and Type | Method and Description |
---|---|
void |
obtainDelegationTokens(org.apache.hadoop.security.Credentials credentials)
Obtains new tokens in a one-time fashion and leaves it up to the caller to distribute them.
|
void |
start()
Creates a re-occurring task which obtains new tokens and automatically distributes them to
task managers.
|
void |
stop()
Stops re-occurring token obtain task.
|
void obtainDelegationTokens(org.apache.hadoop.security.Credentials credentials) throws Exception
Exception
void start() throws Exception
Exception
void stop()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.