[
https://issues.apache.org/jira/browse/YARN-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859019#comment-15859019
]
zhangshilong commented on YARN-4090:
------------------------------------
Thanks [~yufeigu].
when application finishes or its tasks finish, FSParentQueue and FSLeafQueue
should update resourceUsage. Even in Preempte, resourceUsage should be
updated. In [~xinxianyin]'s patch YARN-4090.003.patch,Preempte and tasks
finish Have been considered. When creating the patch file, one of my commits
is ignored by mistake.
In my thought, resourceUsage in FSParentQueue and FSLeafQueue will be updated
while allocating, taskComplete and Preempte.
As Messages from QA, I found unittests are needed, So I will add unitests for
calculating resourceUsage.
> Make Collections.sort() more efficient in FSParentQueue.java
> ------------------------------------------------------------
>
> Key: YARN-4090
> URL: https://issues.apache.org/jira/browse/YARN-4090
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: fairscheduler
> Reporter: Xianyin Xin
> Assignee: zhangshilong
> Attachments: sampling1.jpg, sampling2.jpg, YARN-4090.001.patch,
> YARN-4090.002.patch, YARN-4090.003.patch, YARN-4090.004.patch,
> YARN-4090.005.patch, YARN-4090.006.patch, YARN-4090-preview.patch,
> YARN-4090-TestResult.pdf
>
>
> Collections.sort() consumes too much time in a scheduling round.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]