org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair
Class FifoAppComparator
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FifoAppComparator
- All Implemented Interfaces:
- Serializable, Comparator<FSAppAttempt>
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class FifoAppComparator
- extends Object
- implements Comparator<FSAppAttempt>, Serializable
Order FSAppAttempt objects by priority and then by submit time, as
in the default scheduler in Hadoop.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FifoAppComparator
public FifoAppComparator()
compare
public int compare(FSAppAttempt a1,
FSAppAttempt a2)
- Specified by:
compare in interface Comparator<FSAppAttempt>
Copyright © 2014 Apache Software Foundation. All Rights Reserved.