You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Szilard Nemeth (Jira)" <ji...@apache.org> on 2022/02/17 18:41:00 UTC

[jira] [Updated] (YARN-10995) Move PendingApplicationComparator from GuaranteedOrZeroCapacityOverTimePolicy

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

Szilard Nemeth updated YARN-10995:
----------------------------------
    Description: GuaranteedOrZeroCapacityOverTimePolicy has a comparator class that orders applications by their submit time. It gets the applications from the RMContext and doesn't need any data from GuaranteedOrZeroCapacityOverTimePolicy class, so this easily could be moved to RMContext, so that the reference to the RMContext/SchedulerContext could be removed from GuaranteedOrZeroCapacityOverTimePolicy.  (was: GuaranteedOrZeroCapacityOverTimePolicy has a comparator class that orders applications by their submit time. It gets the applications from the RMContext and doesn't need any information from GuaranteedOrZeroCapacityOverTimePolicy class, so this easily could be moved to RMContext, so that the reference to the RMContext/SchedulerContext could be removed from GuaranteedOrZeroCapacityOverTimePolicy.)

> Move PendingApplicationComparator from GuaranteedOrZeroCapacityOverTimePolicy
> -----------------------------------------------------------------------------
>
>                 Key: YARN-10995
>                 URL: https://issues.apache.org/jira/browse/YARN-10995
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Benjamin Teke
>            Assignee: Benjamin Teke
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> GuaranteedOrZeroCapacityOverTimePolicy has a comparator class that orders applications by their submit time. It gets the applications from the RMContext and doesn't need any data from GuaranteedOrZeroCapacityOverTimePolicy class, so this easily could be moved to RMContext, so that the reference to the RMContext/SchedulerContext could be removed from GuaranteedOrZeroCapacityOverTimePolicy.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org