[ https://issues.apache.org/jira/browse/YARN-2208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057022#comment-14057022 ]
Jian He commented on YARN-2208: ------------------------------- - retriveAndSavePassword -> retriveAndCachePassword - this seems not possible to happen, given once the new token is generated, the password should be updated as well. {code} // password is saved when AMRMToken is created // When the next Master key is activated, we should // make sure that the AMRMToken, which is created by using // the old master key, should not work any more. this.passwords.clear(); {code} - assert oldKey not null {code} MasterKeyData oldKey = appTokenSecretManager.getMasterKey(); {code} > AMRMTokenManager need to have a way to roll over AMRMToken > ---------------------------------------------------------- > > Key: YARN-2208 > URL: https://issues.apache.org/jira/browse/YARN-2208 > Project: Hadoop YARN > Issue Type: Sub-task > Components: resourcemanager > Reporter: Xuan Gong > Assignee: Xuan Gong > Attachments: YARN-2208.1.patch, YARN-2208.2.patch, YARN-2208.3.patch, > YARN-2208.4.patch, YARN-2208.5.patch, YARN-2208.5.patch > > -- This message was sent by Atlassian JIRA (v6.2#6252)