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

Bharat Viswanadham reassigned HDDS-1995:
----------------------------------------

    Assignee:     (was: Bharat Viswanadham)

> 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
>            Reporter: Bharat Viswanadham
>            Priority: Major
>
> 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.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to