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

testCSReservationWithRootUnblocked() and testCSQueueBlocked() in TestCapacityScheduler are flaky

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • capacity scheduler, test

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tarunparimi Tarun Parimi

            Dates

              Created:
              Updated:

              Slack

                Issue deployment