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

Clean up the overwrite of createDispatcher() in subclass of MockRM

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

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0, 3.0.0-alpha2
    • 2.9.0, 3.0.0-alpha4
    • resourcemanager
    • None
    • Reviewed

    Description

      MockRM creates a object of DrainDispatcher in YARN-3102. We don't need to do the same thing in its subclasses.

        @Override
        protected Dispatcher createDispatcher() {
          return new DrainDispatcher();
        }
      

      Attachments

        1. YARN-6411.002.patch
          106 kB
          Yufei Gu
        2. YARN-6411.001.patch
          26 kB
          Yufei Gu

        Activity

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

          People

            yufeigu Yufei Gu
            yufeigu Yufei Gu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment