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

testCSReservationWithRootUnblocked() and testCSQueueBlocked() in TestCapacityScheduler are flaky

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: capacity scheduler, test
    • Labels:

      Description

      testCSReservationWithRootUnblocked() and testCSQueueBlocked() test for the expected value of Used Resources in different queues after calling allocate() and CapacityScheduler.schedule(). 

      If CapacityScheduler.schedule() gets executed more than a second after NodeAddedSchedulerEvent was handled, then the node will be skipped from scheduling. This results in test failure as the node resources will not be allocated and so the expected Used Resource value differs.

        Attachments

        1. YARN-7943.001.patch
          2 kB
          Tarun Parimi

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tarunparimi Tarun Parimi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: