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

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

    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.001.patch
          26 kB
          Yufei Gu
        2. YARN-6411.002.patch
          106 kB
          Yufei Gu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: