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

TestContainerSchedulerQueuing.testContainerUpdateExecTypeGuaranteedToOpportunistic is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha3
    • None
    • nodemanager
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: