public class RootInputVertexManager extends 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(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,
InputDescriptor inputDescriptor,
List<Event> events) |
void |
onSourceTaskCompleted(TaskAttemptIdentifier attempt) |
void |
onVertexManagerEventReceived(VertexManagerEvent vmEvent) |
void |
onVertexStarted(List<TaskAttemptIdentifier> completions) |
void |
onVertexStateUpdated(VertexStateUpdate stateUpdate) |
getContext, onSourceTaskCompleted, onVertexStartedpublic 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(VertexManagerPluginContext context)
public void onVertexStarted(List<TaskAttemptIdentifier> completions)
onVertexStarted in class VertexManagerPluginpublic void onVertexStateUpdated(VertexStateUpdate stateUpdate)
onVertexStateUpdated in class VertexManagerPluginpublic void onSourceTaskCompleted(TaskAttemptIdentifier attempt)
onSourceTaskCompleted in class VertexManagerPluginpublic void initialize()
initialize in class VertexManagerPluginpublic void onVertexManagerEventReceived(VertexManagerEvent vmEvent)
onVertexManagerEventReceived in class VertexManagerPluginpublic void onRootVertexInitialized(String inputName, InputDescriptor inputDescriptor, List<Event> events)
onRootVertexInitialized in class 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 © 2021 Apache Software Foundation. All rights reserved.