You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2014/08/13 22:26:13 UTC
[jira] [Commented] (YARN-2383) Add ability to renew ClientToAMToken
[ 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)