Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
Description
Use renewTime generated by OM leader, across quorum of OM's.
Right now each OM generates renew time when updating token in-memory and DB.
OzoneDelegationTokenSecretManager.java
public long updateToken(Token<OzoneTokenIdentifier> token,
OzoneTokenIdentifier ozoneTokenIdentifier) {
long renewTime =
ozoneTokenIdentifier.getIssueDate() + getTokenRenewInterval();
If different OM's have different token renew interval set, for the same token we will have different renewal time across a quorum of OM's.
This Jira is to fix this issue.
Attachments
Issue Links
- links to