Package | Description |
---|---|
org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem . |
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.protocolPB | |
org.apache.hadoop.hdfs.security.token.delegation | |
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.tools | |
org.apache.hadoop.hdfs.web |
Modifier and Type | Method and Description |
---|---|
Token<DelegationTokenIdentifier> |
DistributedFileSystem.getDelegationToken(String renewer) |
Token<DelegationTokenIdentifier> |
DistributedFileSystem.getDelegationToken(Text renewer)
Deprecated.
|
Token<DelegationTokenIdentifier> |
DFSClient.getDelegationToken(Text renewer) |
protected Token<DelegationTokenIdentifier> |
HftpFileSystem.selectDelegationToken(UserGroupInformation ugi) |
Modifier and Type | Method and Description |
---|---|
void |
DistributedFileSystem.cancelDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.cancel instead.
|
void |
DFSClient.cancelDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.cancel instead.
|
static URI |
HAUtil.getServiceUriFromToken(Token<DelegationTokenIdentifier> token)
Parse the HDFS URI out of the provided token.
|
static boolean |
HAUtil.isTokenForLogicalUri(Token<DelegationTokenIdentifier> token) |
long |
DistributedFileSystem.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.renew instead.
|
long |
DFSClient.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Deprecated.
Use Token.renew instead.
|
Modifier and Type | Method and Description |
---|---|
Token<DelegationTokenIdentifier> |
ClientProtocol.getDelegationToken(Text renewer)
Get a valid Delegation Token.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientProtocol.cancelDelegationToken(Token<DelegationTokenIdentifier> token)
Cancel an existing delegation token.
|
long |
ClientProtocol.renewDelegationToken(Token<DelegationTokenIdentifier> token)
Renew an existing delegation token.
|
Modifier and Type | Method and Description |
---|---|
static Token<DelegationTokenIdentifier> |
PBHelper.convertDelegationToken(SecurityProtos.TokenProto blockToken) |
Token<DelegationTokenIdentifier> |
ClientNamenodeProtocolTranslatorPB.getDelegationToken(Text renewer) |
Modifier and Type | Method and Description |
---|---|
void |
ClientNamenodeProtocolTranslatorPB.cancelDelegationToken(Token<DelegationTokenIdentifier> token) |
long |
ClientNamenodeProtocolTranslatorPB.renewDelegationToken(Token<DelegationTokenIdentifier> token) |
Modifier and Type | Method and Description |
---|---|
DelegationTokenIdentifier |
DelegationTokenSecretManager.createIdentifier() |
Modifier and Type | Method and Description |
---|---|
Token<DelegationTokenIdentifier> |
DelegationTokenSelector.selectToken(URI nnUri,
Collection<Token<?>> tokens,
Configuration conf)
Select the delegation token for hdfs.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegationTokenSecretManager.addPersistedDelegationToken(DelegationTokenIdentifier identifier,
long expiryTime)
This method is intended to be used only while reading edit logs.
|
long |
DelegationTokenSecretManager.getTokenExpiryTime(DelegationTokenIdentifier dtId)
Returns expiry time of a token given its identifier.
|
protected void |
DelegationTokenSecretManager.logExpireToken(DelegationTokenIdentifier dtId) |
byte[] |
DelegationTokenSecretManager.retrievePassword(DelegationTokenIdentifier identifier) |
void |
DelegationTokenSecretManager.updatePersistedTokenCancellation(DelegationTokenIdentifier identifier)
Update the token cache with the cancel record in edit logs
|
void |
DelegationTokenSecretManager.updatePersistedTokenRenewal(DelegationTokenIdentifier identifier,
long expiryTime)
Update the token cache with renewal record in edit logs.
|
Modifier and Type | Method and Description |
---|---|
static DelegationTokenIdentifier |
FSEditLogOp.delegationTokenFromXml(XMLUtils.Stanza st) |
Modifier and Type | Method and Description |
---|---|
static void |
FSEditLogOp.delegationTokenToXml(ContentHandler contentHandler,
DelegationTokenIdentifier token) |
void |
FSNamesystem.logExpireDelegationToken(DelegationTokenIdentifier id)
Log the cancellation of expired tokens to edit logs
|
void |
FSNamesystem.verifyToken(DelegationTokenIdentifier identifier,
byte[] password)
Verifies that the given identifier and password are valid and match.
|
Modifier and Type | Method and Description |
---|---|
static void |
DelegationTokenFetcher.cancelDelegationToken(String nnAddr,
Token<DelegationTokenIdentifier> tok)
Cancel a Delegation Token.
|
static long |
DelegationTokenFetcher.renewDelegationToken(String nnAddr,
Token<DelegationTokenIdentifier> tok)
Renew a Delegation Token.
|
Modifier and Type | Method and Description |
---|---|
Token<DelegationTokenIdentifier> |
WebHdfsFileSystem.getDelegationToken(String renewer) |
protected Token<DelegationTokenIdentifier> |
WebHdfsFileSystem.selectDelegationToken(UserGroupInformation ugi) |
static Token<DelegationTokenIdentifier> |
JsonUtil.toDelegationToken(Map<?,?> json)
Convert a Json map to a Token of DelegationTokenIdentifier.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.