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

Fixing minor Scheduler test case failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      YARN-5351 added ExecutionTypeRequest to the ResourceRequest comparator but the ResourceRequest object created via utility methods in few tests like TestFifoScheduler and TestCapacityScheduler do not set ExecutionTypeRequest which results in null pointer exceptions. This JIRA proposes a simple fix by setting ExecutionTypeRequest in the utility methods.

      Attachments

        1. YARN-5441-v1.patch
          4 kB
          Subramaniam Krishnan

        Issue Links

          Activity

            People

              subru Subramaniam Krishnan
              subru Subramaniam Krishnan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: