public static enum FairShuffleVertexManager.FairRoutingType extends Enum<FairShuffleVertexManager.FairRoutingType>
| Enum Constant and Description |
|---|
FAIR_PARALLELISM
Based on input data statistics the parallelism is adjusted
to a desired level by having one destination task process multiple
small partitions and multiple destination tasks process one
large partition.
|
NONE
Don't do any fair routing.
|
REDUCE_PARALLELISM
TEZ-2962 Based on input data statistics the parallelism is decreased
to a desired level by having one destination task process multiple
consecutive partitions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled() |
boolean |
fairParallelismEnabled() |
static FairShuffleVertexManager.FairRoutingType |
fromString(String type) |
String |
getType() |
boolean |
reduceParallelismEnabled() |
static FairShuffleVertexManager.FairRoutingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FairShuffleVertexManager.FairRoutingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FairShuffleVertexManager.FairRoutingType NONE
public static final FairShuffleVertexManager.FairRoutingType REDUCE_PARALLELISM
public static final FairShuffleVertexManager.FairRoutingType FAIR_PARALLELISM
public static FairShuffleVertexManager.FairRoutingType[] values()
for (FairShuffleVertexManager.FairRoutingType c : FairShuffleVertexManager.FairRoutingType.values()) System.out.println(c);
public static FairShuffleVertexManager.FairRoutingType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final String getType()
public boolean reduceParallelismEnabled()
public boolean fairParallelismEnabled()
public boolean enabled()
public static FairShuffleVertexManager.FairRoutingType fromString(String type)
Copyright © 2019 Apache Software Foundation. All rights reserved.