[ 
https://issues.apache.org/jira/browse/YARN-6134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129351#comment-16129351
 ] 

Varun Saxena commented on YARN-6134:
------------------------------------

Sorry, actually timer is set again on regeneration as well. We call 
generateTokenAndSetTimers while regenerating the token, which will set the 
required timers.
Anyways I think we can refactor to ensure only one runnable runs.

> [ATSv2 Security] Regenerate delegation token for app just before token 
> expires if app collector is active
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6134
>                 URL: https://issues.apache.org/jira/browse/YARN-6134
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Varun Saxena
>            Assignee: Varun Saxena
>              Labels: yarn-5355-merge-blocker
>         Attachments: YARN-6134-YARN-5355.01.patch, 
> YARN-6134-YARN-5355.02.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to