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, 28 Jul 2015 16:20:06 GMT

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

Sunil G commented on YARN-3873:

Hi [~leftnoteasy]
Thank you for sharing the comments.
-1) It's no need to deprecate getApplicationComparator, 
Yes. We will remove the api.
-2)Can we assume pendingApplication's ordering policy is equals to activeApplication's ordering

I feel If we are going to use FiFoOrderingPolicy always for pendingApplications, we can use
existing "getActiveIterator" itself for selecting an application for activation. This will
be then done based on priority and last submission time.
As you mentioned, {{pendingApplication's}} ordering policy choice is not configurable for
now. Hence using hardcoded FiFoOrderingPolicy is a very viable choice now. And we cannot use
 FairOrderingPolicy here which is invalid as mentioned by you earlier in this Jira.

So could I update a patch by using FiFoOrderingPolicy for pendingApplications. Please suggest.

> 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