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

Bikas Saha commented on YARN-1214:
----------------------------------

We can probably return a client token in getApplicationReport after the app is 
saved. So RMAppAttemtptImpl.getClientToken() and other methods like it should 
return null until app has been saved. This might be simpler.
                
> Register ClientToken MasterKey in SecretManager after it is saved
> -----------------------------------------------------------------
>
>                 Key: YARN-1214
>                 URL: https://issues.apache.org/jira/browse/YARN-1214
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Jian He
>            Assignee: Jian He
>
> Currently, app attempt ClientToken master key is registered before it is 
> saved. This can cause problem that before the master key is saved, client 
> gets the token and RM also crashes, RM cannot reloads the master key back 
> after it restarts as it is not saved. As a result, client is holding an 
> invalid token.
> We can register the client token master key after it is saved in the store.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to