You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2020/02/02 16:48:00 UTC

[jira] [Comment Edited] (YARN-10043) FairOrderingPolicy Improvements

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

Manikandan R edited comment on YARN-10043 at 2/2/20 4:47 PM:
-------------------------------------------------------------

[~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.


was (Author: manirajv06@gmail.com):
[~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, YARN-10043.003.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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org