Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7479

TestContainerManagerSecurity.testContainerManager[Simple] flaky in trunk

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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)

        Attachments

        1. YARN-7479.004.patch
          3 kB
          Akira Ajisaka
        2. YARN-7479.003.patch
          3 kB
          Akira Ajisaka
        3. YARN-7479.002.patch
          2 kB
          Akira Ajisaka
        4. YARN-7479.001.patch
          2 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                ajisakaa Akira Ajisaka
                Reporter:
                botong Botong Huang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: