Sunil G updated YARN-3873:
    Attachment: 0005-YARN-3873.patch

Thank you [~leftnoteasy] for sharing comments.

For now {{getAssignmentIterator}} is fine as we use only FiFoComparator for 
now. As we go ahead, we can have a policy/new iterator defined in each of 
policy based on its need/requirement.

Uploading a patch, please check and let me know your opinion.

> pendingApplications in LeafQueue should also use OrderingPolicy
> ---------------------------------------------------------------
>                 Key: YARN-3873
>                 URL: https://issues.apache.org/jira/browse/YARN-3873
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler
>    Affects Versions: 2.7.0
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: 0001-YARN-3873.patch, 0002-YARN-3873.patch, 
> 0003-YARN-3873.patch, 0004-YARN-3873.patch, 0005-YARN-3873.patch
> Currently *pendingApplications* in LeafQueue is using 
> {{applicationComparator}} from CapacityScheduler. This can be changed and 
> pendingApplications can use the OrderingPolicy configured in Queue level 
> (Fifo/Fair as configured). 

This message was sent by Atlassian JIRA

Reply via email to