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] [Commented] (YARN-3873) pendingApplications in LeafQueue should also use OrderingPolicy
Date Tue, 14 Jul 2015 13:25:04 GMT

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

Sunil G commented on YARN-3873:
-------------------------------

Thank you [~leftnoteasy] for sharing your thoughts.

I definitely agree to your view on the problem in using a FairComparator on pendingApplications.
As mentioned, it is better to come with a customized comparator which can help to select which
application to be activated from the list of pendingApplications.
I will update a patch with this change.

> 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
>
>
> 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
(v6.3.4#6332)

Mime
View raw message