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

TestAMRestart#testAMRestartWithExistingContainers assumes CapacityScheduler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

      The TestAMRestart#testAMRestartWithExistingContainers does a cast to CapacityScheduler in a couple of places

      ((CapacityScheduler) rm1.getResourceScheduler())
      

      If run with FairScheduler as default scheduler the test throws

       java.lang.ClassCastException 

      .

        Attachments

        1. YARN-2110-v2.patch
          2 kB
          Chen He
        2. YARN-2110.patch
          2 kB
          Chen He

          Issue Links

            Activity

              People

              • Assignee:
                airbots Chen He
                Reporter:
                adhoot Anubhav Dhoot
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: