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

Akira Ajisaka updated YARN-7479:
--------------------------------
    Attachment: YARN-7479.004.patch

> TestContainerManagerSecurity.testContainerManager[Simple] flaky in trunk
> ------------------------------------------------------------------------
>
>                 Key: YARN-7479
>                 URL: https://issues.apache.org/jira/browse/YARN-7479
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Botong Huang
>            Assignee: Akira Ajisaka
>            Priority: Major
>         Attachments: YARN-7479.001.patch, YARN-7479.002.patch, 
> YARN-7479.003.patch, YARN-7479.004.patch
>
>
> Was waiting for container_1_0001_01_000000 to get to state COMPLETE but was 
> in state RUNNING after the timeout
> java.lang.AssertionError: Was waiting for container_1_0001_01_000000 to get 
> to state COMPLETE but was in state RUNNING after the timeout
>       at org.junit.Assert.fail(Assert.java:88)
>       at 
> org.apache.hadoop.yarn.server.TestContainerManagerSecurity.waitForContainerToFinishOnNM(TestContainerManagerSecurity.java:431)
>       at 
> org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testNMTokens(TestContainerManagerSecurity.java:360)
>       at 
> org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testContainerManager(TestContainerManagerSecurity.java:171)
> Pasting some exception message during test run here: 
> org.apache.hadoop.security.AccessControlException: SIMPLE authentication is 
> not enabled.  Available:[TOKEN]
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>       at 
> org.apache.hadoop.yarn.ipc.RPCUtil.instantiateException(RPCUtil.java:53)
>       at 
> org.apache.hadoop.yarn.ipc.RPCUtil.instantiateIOException(RPCUtil.java:80)
>       at 
> org.apache.hadoop.yarn.ipc.RPCUtil.unwrapAndThrowException(RPCUtil.java:119)
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken):
>  Given NMToken for application : appattempt_1_0001_000001 seems to have been 
> generated illegally.
>       at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1491)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1437)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1347)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken):
>  Given NMToken for application : appattempt_1_0001_000001 is not valid for 
> current node manager.expected : localhost:46649 found : InvalidHost:1234
>       at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1491)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1437)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1347)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to