[
https://issues.apache.org/jira/browse/YARN-10043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028478#comment-17028478
]
Manikandan R commented on YARN-10043:
-------------------------------------
[~pbacsko] Thanks for your reviews.
# Taken care.
# Compare demands ensures entity without resource demand get lower priority
than ones who have demands. When both entities has certain demands ( > 0), then
there is no actual comparison. Hence the changes are in that way. It has been
commented too at class level. Similar to {{FairSharePolicy}} implementation.
# For #3 and #4, yes there are multiple asserts intended to clearly show the
expected final ones are passing after asserting all earlier comparison (in the
precedence order) has been passed as well. However, I see your point and made
the changes by balancing both the views.
> FairOrderingPolicy Improvements
> -------------------------------
>
> Key: YARN-10043
> URL: https://issues.apache.org/jira/browse/YARN-10043
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Manikandan R
> Assignee: Manikandan R
> Priority: Major
> Attachments: YARN-10043.001.patch, YARN-10043.002.patch
>
>
> FairOrderingPolicy can be improved by using some of the approaches (only
> relevant) implemented in FairSharePolicy of FS. This improvement has
> significance in FS to CS migration context.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]