parent
363373e0ef
commit
56f042c48f
|
@ -147,8 +147,8 @@ public class OMGetDelegationTokenRequest extends OMClientRequest {
|
|||
OMMetadataManager omMetadataManager = ozoneManager.getMetadataManager();
|
||||
|
||||
try {
|
||||
OzoneTokenIdentifier ozoneTokenIdentifier =
|
||||
ozoneTokenIdentifierToken.decodeIdentifier();
|
||||
OzoneTokenIdentifier ozoneTokenIdentifier = OzoneTokenIdentifier.
|
||||
readProtoBuf(ozoneTokenIdentifierToken.getIdentifier());
|
||||
|
||||
// Update in memory map of token.
|
||||
long renewTime = ozoneManager.getDelegationTokenMgr()
|
||||
|
|
|
@ -123,8 +123,8 @@ public class OMRenewDelegationTokenRequest extends OMClientRequest {
|
|||
.setSuccess(true);
|
||||
try {
|
||||
|
||||
OzoneTokenIdentifier ozoneTokenIdentifier =
|
||||
ozoneTokenIdentifierToken.decodeIdentifier();
|
||||
OzoneTokenIdentifier ozoneTokenIdentifier = OzoneTokenIdentifier.
|
||||
readProtoBuf(ozoneTokenIdentifierToken.getIdentifier());
|
||||
|
||||
// Update in memory map of token.
|
||||
ozoneManager.getDelegationTokenMgr()
|
||||
|
|
Loading…
Reference in New Issue