[ 
https://issues.apache.org/jira/browse/YARN-5146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302901#comment-15302901
 ] 

Yufei Gu edited comment on YARN-5146 at 5/26/16 8:56 PM:
---------------------------------------------------------

To add support for fair scheduler, I find these files may need to refactor:

- routes/yarn-queue.js
- adapters/yarn-queue.js
- serializers/yarn-queue.js
- templates/components/queue-configuration-table.hbs
- templates/components/queue-navigator.hbs
- templates/yarn-queue.hbs
- models/yarn-queue.js

For route and adapter, we might just need minor changes. We need to change a 
lot for others, like add a new model to support fair scheduler or maybe fifo. 
And naming also should be considered. I suggest add a new directory for 
different schedulers. For examples:

* models
** yarn-queues
*** capacity-queue.js
*** fair-queue.js
*** fifo-queue.js

[~leftnoteasy], could you please comment?


was (Author: yufeigu):
To add support for fair scheduler, I find these files may need to refactor:

- routes/yarn-queue.js
- adapters/yarn-queue.js
- serializers/yarn-queue.js
- templates/components/queue-configuration-table.hbs
- templates/components/queue-navigator.hbs
- templates/yarn-queue.hbs
- models/yarn-queue.js

For route and adapter, we might just need minor changes. We need to change a 
lot for others, like add a new model to support fair scheduler or maybe fifo. 
And naming also should be considered. I suggest add a new directory for 
different schedulers. For examples:

* models
** yarn-queues
*** capacity-queue.js
*** fair-queue.js
*** fifo-queue.js

[~wangda], could you please comment?

> [YARN-3368] Supports Fair Scheduler in new YARN UI
> --------------------------------------------------
>
>                 Key: YARN-5146
>                 URL: https://issues.apache.org/jira/browse/YARN-5146
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Wangda Tan
>            Assignee: Yufei Gu
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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