[ https://issues.apache.org/jira/browse/YARN-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096060#comment-14096060 ]
Xuan Gong commented on YARN-2383: --------------------------------- Make the ClientToAMToken renewable after a configurable period of time. AM will send the renewDate in allocate call. RM can send back the new renewDate if needed thru the allocate. At AM side, create a ClientToAMTokenCache ,which is singleton. The ClientToAMTokenCache is used to save the master-key and renewDate of the ClientToAMToken, and the ClientToAMTokenCache will be used in ClientToAMTokenSecretManager in AM side to help save and retrieve the master-key. With using ClientToAMTokenCache, we do not need to change any public API and codes in both AM and client. > Add ability to renew ClientToAMToken > ------------------------------------ > > Key: YARN-2383 > URL: https://issues.apache.org/jira/browse/YARN-2383 > Project: Hadoop YARN > Issue Type: Bug > Components: applications, resourcemanager > Reporter: Xuan Gong > Assignee: Xuan Gong > Attachments: YARN-2383.preview.1.patch > > -- This message was sent by Atlassian JIRA (v6.2#6252)