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

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

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0, 3.0.0-alpha2
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: resourcemanager
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: