Modifier and Type | Class and Description |
---|---|
class |
BlockKey
Key used for generating and verifying block tokens
|
Modifier and Type | Method and Description |
---|---|
protected void |
DelegationTokenSecretManager.logUpdateMasterKey(DelegationKey key)
Call namesystem to update editlogs for new master key.
|
void |
DelegationTokenSecretManager.updatePersistedMasterKey(DelegationKey key)
Add a MasterKey to the list of keys.
|
Modifier and Type | Method and Description |
---|---|
static DelegationKey |
FSEditLogOp.delegationKeyFromXml(XMLUtils.Stanza st) |
Modifier and Type | Method and Description |
---|---|
static void |
FSEditLogOp.delegationKeyToXml(ContentHandler contentHandler,
DelegationKey key) |
void |
FSNamesystem.logUpdateMasterKey(DelegationKey key)
Log the updateMasterKey operation to edit logs
|
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,DelegationKey> |
AbstractDelegationTokenSecretManager.allKeys
Access to allKeys is protected by this object lock
|
Modifier and Type | Method and Description |
---|---|
DelegationKey[] |
AbstractDelegationTokenSecretManager.getAllKeys() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDelegationTokenSecretManager.addKey(DelegationKey key)
Add a previously used master key to cache (when NN restarts),
should be called before activate().
|
protected void |
AbstractDelegationTokenSecretManager.logUpdateMasterKey(DelegationKey key) |
protected void |
AbstractDelegationTokenSecretManager.removeStoredMasterKey(DelegationKey key) |
protected void |
AbstractDelegationTokenSecretManager.storeNewMasterKey(DelegationKey key) |
Modifier and Type | Method and Description |
---|---|
Set<DelegationKey> |
RMStateStore.RMDTSecretManagerState.getMasterKeyState() |
Modifier and Type | Method and Description |
---|---|
void |
RMStateStore.removeRMDTMasterKey(DelegationKey delegationKey)
RMDTSecretManager call this to remove the state of a master key
|
void |
FileSystemRMStateStore.removeRMDTMasterKeyState(DelegationKey masterKey) |
void |
NullRMStateStore.removeRMDTMasterKeyState(DelegationKey delegationKey) |
void |
MemoryRMStateStore.removeRMDTMasterKeyState(DelegationKey delegationKey) |
protected abstract void |
RMStateStore.removeRMDTMasterKeyState(DelegationKey delegationKey)
Blocking API
Derived classes must implement this method to remove the state of
DelegationToken Master Key
|
void |
RMStateStore.storeRMDTMasterKey(DelegationKey delegationKey)
RMDTSecretManager call this to store the state of a master key
|
void |
FileSystemRMStateStore.storeRMDTMasterKeyState(DelegationKey masterKey) |
void |
NullRMStateStore.storeRMDTMasterKeyState(DelegationKey delegationKey) |
void |
MemoryRMStateStore.storeRMDTMasterKeyState(DelegationKey delegationKey) |
protected abstract void |
RMStateStore.storeRMDTMasterKeyState(DelegationKey delegationKey)
Blocking API
Derived classes must implement this method to store the state of
DelegationToken Master Key
|
Modifier and Type | Method and Description |
---|---|
Set<DelegationKey> |
RMDelegationTokenSecretManager.getAllMasterKeys() |
Modifier and Type | Method and Description |
---|---|
protected void |
RMDelegationTokenSecretManager.removeStoredMasterKey(DelegationKey key) |
protected void |
RMDelegationTokenSecretManager.storeNewMasterKey(DelegationKey newKey) |
Copyright © 2013 Apache Software Foundation. All rights reserved.