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

TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      TestRM.testNMTokenSentForNormalContainer assumes the CapacityScheduler is being used and tries to do:

      CapacityScheduler cs = (CapacityScheduler) rm.getResourceScheduler();
      

      This throws a ClassCastException if you're not using the CapacityScheduler.

        Attachments

        1. YARN-1846.patch
          1 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: