[ 
https://issues.apache.org/jira/browse/YARN-9241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anuj updated YARN-9241:
-----------------------
    Summary: Remove Scheduler specific if/else block and make it injectable in 
RMController  (was: Remove if else block from RmController.java)

> Remove Scheduler specific if/else block and make it injectable in RMController
> ------------------------------------------------------------------------------
>
>                 Key: YARN-9241
>                 URL: https://issues.apache.org/jira/browse/YARN-9241
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 3.2.0
>            Reporter: Anuj
>            Priority: Minor
>
> RmController contains a hardcoded if and else block for type of scheduler and 
> decides which page to use for which scheduler.
> This if else block makes it hard to introduce a new scheduler and 
> corresponding webpage with modifying the existing RMController class.
> It would be great if we make it extendable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to