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 Mon, 10 Aug 2015 15:00:46 GMT

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

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

Thank you [~leftnoteasy] for the comments.

{code}
     setOrderingPolicy(conf.<FiCaSchedulerApp>getOrderingPolicy(getQueuePath()));
+    setPendingAppsOrderingPolicy(conf
+        .<FiCaSchedulerApp> getOrderingPolicy(getQueuePath()));
{code}
In the current patch, we are now using the same ordering policy for pendingApplications similar
to runningApps.  This above code is from {{LeafQueue#setupQueueConfigs}}. Hence policy will
be same for both types. 
Could you please help to check this and pls correct me if I missed anything.

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

Mime
View raw message