Benjamin Teke created YARN-10995:
------------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to