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)
DelegationTokenManager
obtainDelegationTokens
in interface DelegationTokenManager
public void start()
DelegationTokenManager
start
in interface DelegationTokenManager
public void stop()
DelegationTokenManager
stop
in interface DelegationTokenManager
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.