public class NoOpDelegationTokenManager extends Object implements DelegationTokenManager
DelegationTokenManager implementation which does nothing.| Constructor and Description |
|---|
NoOpDelegationTokenManager() |
| 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.
|
public void obtainDelegationTokens(org.apache.hadoop.security.Credentials credentials)
DelegationTokenManagerobtainDelegationTokens in interface DelegationTokenManagerpublic void start()
DelegationTokenManagerstart in interface DelegationTokenManagerpublic void stop()
DelegationTokenManagerstop in interface DelegationTokenManagerCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.