hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1214) Register ClientToken MasterKey in SecretManager after it is saved
Date Thu, 19 Sep 2013 22:01:04 GMT

     [ https://issues.apache.org/jira/browse/YARN-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jian He updated YARN-1214:
--------------------------

    Attachment: YARN-1214.1.patch

New patch fixed the comments.

bq. TestClientToAMTokens. Assert that clientToken is null before and not null after.
Turns out this is to test AM attempt can get the master key after it's registered.
                
> 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.1.patch, 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

Mime
View raw message