@InterfaceAudience.Private public class DelegationTokenSelector extends AbstractDelegationTokenSelector<DelegationTokenIdentifier>
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME_KEY |
Constructor and Description |
---|
DelegationTokenSelector() |
Modifier and Type | Method and Description |
---|---|
Token<DelegationTokenIdentifier> |
selectToken(URI nnUri,
Collection<Token<?>> tokens,
Configuration conf)
Select the delegation token for hdfs.
|
selectToken
public static final String SERVICE_NAME_KEY
public Token<DelegationTokenIdentifier> selectToken(URI nnUri, Collection<Token<?>> tokens, Configuration conf)
nnUri
- of the remote namenodetokens
- as a collectionconf
- hadoop configurationCopyright © 2013 Apache Software Foundation. All rights reserved.