@InterfaceAudience.Public
@InterfaceStability.Evolving
public class ShuffleVertexManager
extends org.apache.tez.dag.api.VertexManagerPlugin
slowStartMinSrcCompletionFraction and schedules all tasks
when slowStartMaxSrcCompletionFraction is reached| Modifier and Type | Field and Description |
|---|---|
static String |
TEZ_SHUFFLE_VERTEX_MANAGER_DESIRED_TASK_INPUT_SIZE
The desired size of input per task.
|
static long |
TEZ_SHUFFLE_VERTEX_MANAGER_DESIRED_TASK_INPUT_SIZE_DEFAULT |
static String |
TEZ_SHUFFLE_VERTEX_MANAGER_ENABLE_AUTO_PARALLEL
Enables automatic parallelism determination for the vertex.
|
static boolean |
TEZ_SHUFFLE_VERTEX_MANAGER_ENABLE_AUTO_PARALLEL_DEFAULT |
static String |
TEZ_SHUFFLE_VERTEX_MANAGER_MAX_SRC_FRACTION
In case of a ScatterGather connection, once this fraction of source tasks
have completed, all tasks on the current vertex can be scheduled.
|
static float |
TEZ_SHUFFLE_VERTEX_MANAGER_MAX_SRC_FRACTION_DEFAULT |
static String |
TEZ_SHUFFLE_VERTEX_MANAGER_MIN_SRC_FRACTION
In case of a ScatterGather connection, the fraction of source tasks which
should complete before tasks for the current vertex are scheduled
|
static float |
TEZ_SHUFFLE_VERTEX_MANAGER_MIN_SRC_FRACTION_DEFAULT |
static String |
TEZ_SHUFFLE_VERTEX_MANAGER_MIN_TASK_PARALLELISM
Automatic parallelism determination will not decrease parallelism below this value
|
static int |
TEZ_SHUFFLE_VERTEX_MANAGER_MIN_TASK_PARALLELISM_DEFAULT |
| Constructor and Description |
|---|
ShuffleVertexManager(org.apache.tez.dag.api.VertexManagerPluginContext context) |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.tez.dag.library.vertexmanager.ShuffleVertexManager.ShuffleVertexManagerConfigBuilder |
createConfigBuilder(org.apache.hadoop.conf.Configuration conf)
Create a
VertexManagerPluginDescriptor builder that can be used to
configure the plugin. |
void |
initialize() |
void |
onRootVertexInitialized(String inputName,
org.apache.tez.dag.api.InputDescriptor inputDescriptor,
List<org.apache.tez.runtime.api.Event> events) |
void |
onSourceTaskCompleted(String srcVertexName,
Integer srcTaskId) |
void |
onVertexManagerEventReceived(org.apache.tez.runtime.api.events.VertexManagerEvent vmEvent) |
void |
onVertexStarted(Map<String,List<Integer>> completions) |
void |
onVertexStateUpdated(org.apache.tez.dag.api.event.VertexStateUpdate stateUpdate) |
public static final String TEZ_SHUFFLE_VERTEX_MANAGER_MIN_SRC_FRACTION
public static final float TEZ_SHUFFLE_VERTEX_MANAGER_MIN_SRC_FRACTION_DEFAULT
public static final String TEZ_SHUFFLE_VERTEX_MANAGER_MAX_SRC_FRACTION
public static final float TEZ_SHUFFLE_VERTEX_MANAGER_MAX_SRC_FRACTION_DEFAULT
public static final String TEZ_SHUFFLE_VERTEX_MANAGER_ENABLE_AUTO_PARALLEL
public static final boolean TEZ_SHUFFLE_VERTEX_MANAGER_ENABLE_AUTO_PARALLEL_DEFAULT
public static final String TEZ_SHUFFLE_VERTEX_MANAGER_DESIRED_TASK_INPUT_SIZE
public static final long TEZ_SHUFFLE_VERTEX_MANAGER_DESIRED_TASK_INPUT_SIZE_DEFAULT
public static final String TEZ_SHUFFLE_VERTEX_MANAGER_MIN_TASK_PARALLELISM
public static final int TEZ_SHUFFLE_VERTEX_MANAGER_MIN_TASK_PARALLELISM_DEFAULT
public ShuffleVertexManager(org.apache.tez.dag.api.VertexManagerPluginContext context)
public void onVertexStarted(Map<String,List<Integer>> completions)
onVertexStarted in class org.apache.tez.dag.api.VertexManagerPluginpublic void onSourceTaskCompleted(String srcVertexName, Integer srcTaskId)
onSourceTaskCompleted in class org.apache.tez.dag.api.VertexManagerPluginpublic void onVertexManagerEventReceived(org.apache.tez.runtime.api.events.VertexManagerEvent vmEvent)
onVertexManagerEventReceived in class org.apache.tez.dag.api.VertexManagerPluginpublic void initialize()
initialize in class org.apache.tez.dag.api.VertexManagerPluginpublic void onVertexStateUpdated(org.apache.tez.dag.api.event.VertexStateUpdate stateUpdate)
onVertexStateUpdated in class org.apache.tez.dag.api.VertexManagerPluginpublic void onRootVertexInitialized(String inputName, org.apache.tez.dag.api.InputDescriptor inputDescriptor, List<org.apache.tez.runtime.api.Event> events)
onRootVertexInitialized in class org.apache.tez.dag.api.VertexManagerPluginpublic static org.apache.tez.dag.library.vertexmanager.ShuffleVertexManager.ShuffleVertexManagerConfigBuilder createConfigBuilder(@Nullable org.apache.hadoop.conf.Configuration conf)
VertexManagerPluginDescriptor builder that can be used to
configure the plugin.conf - Configuration May be modified in place. May be null if the
configuration parameters are to be set only via code. If
configuration values may be changed at runtime via a config file
then pass in a Configuration that is initialized from a
config file. The parameters that are not overridden in code will
be derived from the Configuration object.ShuffleVertexManager.ShuffleVertexManagerConfigBuilderCopyright © 2015 Apache Software Foundation. All rights reserved.