hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3873) pendingApplications in LeafQueue should also use OrderingPolicy
Date Sun, 26 Jul 2015 09:43:05 GMT

     [ https://issues.apache.org/jira/browse/YARN-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

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

Updating patch after rebasing.

New api {{getActivateIterator}} in OrderingPolicy will be used to activate application from
pending list. For {{FiFoOrderingPolicy}}, it will be comparing priority and timestamp. Also
 if we use  {{FairOrderingPolicy}} {{getActivateIterator}} alone, then it will compare applications
with priority/submitted timestamp. But if we use any other comparator, then order will not
be as expected.
[~leftnoteasy] could you please share your thoughts.

> 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,
> 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

View raw message