[ https://issues.apache.org/jira/browse/YARN-10995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated YARN-10995: ------------------------------ Component/s: capacity scheduler Target Version/s: 3.4.0 Affects Version/s: 3.4.0 > Move PendingApplicationComparator from GuaranteedOrZeroCapacityOverTimePolicy > ----------------------------------------------------------------------------- > > Key: YARN-10995 > URL: https://issues.apache.org/jira/browse/YARN-10995 > Project: Hadoop YARN > Issue Type: Sub-task > Components: capacity scheduler > Affects Versions: 3.4.0 > Reporter: Benjamin Teke > Assignee: Benjamin Teke > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > Time Spent: 1h > 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.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org