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

TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • None
    • None
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment