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

TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is flaky

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha3
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      testContainerUpdateExecTypeGuaranteedToOpportunistic waits for the container to be running before it sends container update request.
      The container update is handled asynchronously in node manager, and it does not trigger visible state transition. If the node manager event
      dispatch thread is slow, the unit test can fail at the the assertion

       Assert.assertEquals(ExecutionType.OPPORTUNISTIC, status.getExecutionType());

        Attachments

        1. YARN-7372.01.patch
          3 kB
          Haibo Chen
        2. YARN-7372.00.patch
          3 kB
          Haibo Chen

          Issue Links

            Activity

              People

              • Assignee:
                haibochen Haibo Chen
                Reporter:
                haibochen Haibo Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: