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

Rohith commented on YARN-2350:
------------------------------

This issue is because of YARN-2208 check in. As a wholse solution for the task 
AMRToken roll over, YARN-2211 also to be checked in which is in progress. I 
verified by applying patch YARN-2211, RM HA woks fine to me.

> TestApplicationMasterServiceOnHA fails with InvalidToken exception
> ------------------------------------------------------------------
>
>                 Key: YARN-2350
>                 URL: https://issues.apache.org/jira/browse/YARN-2350
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>
> From https://builds.apache.org/job/Hadoop-Yarn-trunk/622 :
> {code}
> Running org.apache.hadoop.yarn.client.TestApplicationMasterServiceOnHA
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.591 sec <<< 
> FAILURE! - in org.apache.hadoop.yarn.client.TestApplicationMasterServiceOnHA
> testAllocateOnHA(org.apache.hadoop.yarn.client.TestApplicationMasterServiceOnHA)
>   Time elapsed: 8.408 sec  <<< ERROR!
> org.apache.hadoop.security.token.SecretManager$InvalidToken: Given AMRMToken 
> for application : appattempt_1000_0001_000000 seems to have been generated 
> illegally.
>         at org.apache.hadoop.ipc.Client.call(Client.java:1411)
>         at org.apache.hadoop.ipc.Client.call(Client.java:1364)
>         at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
>         at com.sun.proxy.$Proxy85.allocate(Unknown Source)
>         at 
> org.apache.hadoop.yarn.api.impl.pb.client.ApplicationMasterProtocolPBClientImpl.allocate(ApplicationMasterProtocolPBClientImpl.java:77)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
>         at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:101)
>         at com.sun.proxy.$Proxy86.allocate(Unknown Source)
>         at 
> org.apache.hadoop.yarn.client.TestApplicationMasterServiceOnHA.testAllocateOnHA(TestApplicationMasterServiceOnHA.java:84)
> {code}
> This is reproducible locally.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to