[
https://issues.apache.org/jira/browse/YARN-4090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yufei Gu updated YARN-4090:
---------------------------
Attachment: YARN-4090.008.patch
Thanks for the review, [~templedf]. Uploaded patch v8 for your first comment.
I've changed function name to {{incUsedResource}} and {{decUsedResource}}, I
didn't extract the functions into class {{Queue}} since the one in CS has
different function signatures. We could do that refactor while we add node
label to FS.
> Make Collections.sort() more efficient by caching resource usage
> ----------------------------------------------------------------
>
> Key: YARN-4090
> URL: https://issues.apache.org/jira/browse/YARN-4090
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: fairscheduler
> Reporter: Xianyin Xin
> Assignee: Yufei Gu
> 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.007.patch,
> YARN-4090.008.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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]