You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yufei Gu (JIRA)" <ji...@apache.org> on 2017/03/30 00:17:42 UTC

[jira] [Created] (YARN-6411) Clean up the overwrite of createDispatcher() in subclass of MockRM

Yufei Gu created YARN-6411:
------------------------------

             Summary: Clean up the overwrite of createDispatcher() in subclass of MockRM
                 Key: YARN-6411
                 URL: https://issues.apache.org/jira/browse/YARN-6411
             Project: Hadoop YARN
          Issue Type: Task
          Components: resourcemanager
    Affects Versions: 3.0.0-alpha2, 2.9.0
            Reporter: Yufei Gu
            Assignee: Yufei Gu
            Priority: Minor


MockRM creates a object of {{DrainDispatcher}} in YARN-3102. We don't need to do the same thing in its subclasses.
{code}
  @Override
  protected Dispatcher createDispatcher() {
    return new DrainDispatcher();
  }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org