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

Vinod Kumar Vavilapalli commented on YARN-1152:
-----------------------------------------------

bq. One way to fix it is to have the RMAppAttemptImpl generate the token rather 
than RMAppImpl, since the former is the one registering/unregistering the key 
and knows when it's appropriate to generate a token.
Oh yeah, that is the correct way to do it. Bad review.

One other thing we missed is that currentAttempt can be null at any point of 
time, may be we should document that.
                
> Invalid key to HMAC computation error when getting application report for 
> completed app attempt
> -----------------------------------------------------------------------------------------------
>
>                 Key: YARN-1152
>                 URL: https://issues.apache.org/jira/browse/YARN-1152
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 0.23.10, 2.1.1-beta
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Blocker
>
> On a secure cluster, an invalid key to HMAC error is thrown when trying to 
> get an application report for an application with an attempt that has 
> unregistered.

--
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