[
https://issues.apache.org/jira/browse/YARN-9241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753497#comment-16753497
]
Anuj commented on YARN-9241:
----------------------------
Updated.
> 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: [email protected]
For additional commands, e-mail: [email protected]