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