You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/03/12 20:40:00 UTC

[jira] [Updated] (HDDS-1995) Generate renewTime on OMLeader for GetDelegationToken

     [ https://issues.apache.org/jira/browse/HDDS-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Agarwal updated HDDS-1995:
--------------------------------
    Priority: Blocker  (was: Major)

> Generate renewTime on OMLeader for GetDelegationToken
> -----------------------------------------------------
>
>                 Key: HDDS-1995
>                 URL: https://issues.apache.org/jira/browse/HDDS-1995
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: HA
>            Reporter: Bharat Viswanadham
>            Priority: Blocker
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org