Enum Class SchedulingMode
java.lang.Object
java.lang.Enum<SchedulingMode>
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.SchedulingMode
- All Implemented Interfaces:
Serializable,Comparable<SchedulingMode>,Constable
Scheduling modes, see below for detailed explanations
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly used when a node has partition AND the partition isn't an exclusive partition AND application requires non-partitioned resource.When a node has partition (say partition=x), only application in the queue can access to partition=x AND requires for partition=x resource can get chance to allocate on the node. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulingModeReturns the enum constant of this class with the specified name.static SchedulingMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESPECT_PARTITION_EXCLUSIVITY
When a node has partition (say partition=x), only application in the queue can access to partition=x AND requires for partition=x resource can get chance to allocate on the node.
When a node has no partition, only application requires non-partitioned resource can get chance to allocate on the node.
-
IGNORE_PARTITION_EXCLUSIVITY
Only used when a node has partition AND the partition isn't an exclusive partition AND application requires non-partitioned resource.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-