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

FIX TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint on branch-3.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3
    • Component/s: distributed-shell, test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Testcase TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint seems to constantly fail on branch 3.1. I believe it was introduced by YARN-9253.

      testDistributedShellWithPlacementConstraint(org.apache.hadoop.yarn.applications.distributedshell.TestDSWithMultipleNodeManager)  Time elapsed: 24.636 s  <<< FAILURE!
      java.lang.AssertionError: expected:<1> but was:<2>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.yarn.applications.distributedshell.TestDSWithMultipleNodeManager.testDistributedShellWithPlacementConstraint(TestDSWithMultipleNodeManager.java:178)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      

        Attachments

        1. YARN-9621-branch-3.1.001.patch
          2 kB
          Prabhu Joseph
        2. YARN-9621-branch-3.1.002.patch
          2 kB
          Prabhu Joseph
        3. YARN-9621-branch-3.1.003.patch
          4 kB
          Prabhu Joseph
        4. YARN-9621-branch-3.1.004.patch
          2 kB
          Prabhu Joseph
        5. YARN-9621-branch-3.1.005.patch
          3 kB
          Prabhu Joseph

          Activity

            People

            • Assignee:
              prabhujoseph Prabhu Joseph
              Reporter:
              pbacsko Peter Bacsko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: