public class RootInputVertexManager
extends org.apache.tez.dag.api.VertexManagerPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
RootInputVertexManager.RootInputVertexManagerConfigBuilder
Helper class to configure RootInputVertexManager
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TEZ_ROOT_INPUT_VERTEX_MANAGER_ENABLE_SLOW_START
Enables slow start for the vertex.
|
static boolean |
TEZ_ROOT_INPUT_VERTEX_MANAGER_ENABLE_SLOW_START_DEFAULT |
static String |
TEZ_ROOT_INPUT_VERTEX_MANAGER_MAX_SRC_FRACTION
In case of a Broadcast connection, once this fraction of source tasks
have completed, all tasks on the current vertex can be scheduled.
|
static float |
TEZ_ROOT_INPUT_VERTEX_MANAGER_MAX_SRC_FRACTION_DEFAULT |
static String |
TEZ_ROOT_INPUT_VERTEX_MANAGER_MIN_SRC_FRACTION
In case of a Broadcast connection, the fraction of source tasks which
should complete before tasks for the current vertex are scheduled
|
static float |
TEZ_ROOT_INPUT_VERTEX_MANAGER_MIN_SRC_FRACTION_DEFAULT |
| Constructor and Description |
|---|
RootInputVertexManager(org.apache.tez.dag.api.VertexManagerPluginContext context) |
| Modifier and Type | Method and Description |
|---|---|
static RootInputVertexManager.RootInputVertexManagerConfigBuilder |
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(org.apache.tez.runtime.api.TaskAttemptIdentifier attempt) |
void |
onVertexManagerEventReceived(org.apache.tez.runtime.api.events.VertexManagerEvent vmEvent) |
void |
onVertexStarted(List<org.apache.tez.runtime.api.TaskAttemptIdentifier> completions) |
void |
onVertexStateUpdated(org.apache.tez.dag.api.event.VertexStateUpdate stateUpdate) |
public static final String TEZ_ROOT_INPUT_VERTEX_MANAGER_ENABLE_SLOW_START
public static final boolean TEZ_ROOT_INPUT_VERTEX_MANAGER_ENABLE_SLOW_START_DEFAULT
public static final String TEZ_ROOT_INPUT_VERTEX_MANAGER_MIN_SRC_FRACTION
public static final float TEZ_ROOT_INPUT_VERTEX_MANAGER_MIN_SRC_FRACTION_DEFAULT
public static final String TEZ_ROOT_INPUT_VERTEX_MANAGER_MAX_SRC_FRACTION
public static final float TEZ_ROOT_INPUT_VERTEX_MANAGER_MAX_SRC_FRACTION_DEFAULT
public RootInputVertexManager(org.apache.tez.dag.api.VertexManagerPluginContext context)
public void onVertexStarted(List<org.apache.tez.runtime.api.TaskAttemptIdentifier> completions)
onVertexStarted 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 onSourceTaskCompleted(org.apache.tez.runtime.api.TaskAttemptIdentifier attempt)
onSourceTaskCompleted in class org.apache.tez.dag.api.VertexManagerPluginpublic void initialize()
initialize 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 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 RootInputVertexManager.RootInputVertexManagerConfigBuilder 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.RootInputVertexManager.RootInputVertexManagerConfigBuilderCopyright © 2020 Apache Software Foundation. All rights reserved.