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.
| 限定符和类型 | 方法和说明 |
|---|---|
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
Exceptionvoid start()
throws Exception
Exceptionvoid stop()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.