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

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

[~vinodkv] Should master key be given to clients only after the attempt has 
registered. That is when the attempt gets the master key. Until then the 
clients cannot connect to the attempt anyways.
                
> 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
>         Attachments: YARN-1214.patch
>
>
> 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