Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
we're considering to add the following methods in AbstractDelegationTokenSecretManager for restoring RMDelegationTokens, these methods can also possibly be reused by hdfsDelegationTokenSecretManager, see YARN-638
protected void storeNewMasterKey(DelegationKey key) throws IOException
{ return; }protected void removeStoredMasterKey(DelegationKey key) { return; }
protected void storeNewToken(TokenIdent ident, long renewDate)
{ return; }protected void removeStoredToken(TokenIdent ident) throws IOException {
}
protected void updateStoredToken(TokenIdent ident, long renewDate) { return; }
Also move addPersistedDelegationToken in hdfs.DelegationTokenSecretManager, to AbstractDelegationTokenSecretManager
Attachments
Attachments
Issue Links
- is depended upon by
-
YARN-638 Restore RMDelegationTokens after RM Restart
- Closed
- is related to
-
HADOOP-9846 AbstractDelegationTokenSecretManager storage interface is inconsistent wrt. exceptions
- Open
-
HDFS-4838 HDFS should use the new methods added in HADOOP-9574
- Patch Available