| Modifier and Type | Method and Description |
|---|---|
ExecutionVertexID |
TaskDeploymentDescriptor.getVertexID()
Returns the task's execution vertex ID.
|
| Constructor and Description |
|---|
TaskDeploymentDescriptor(JobID jobID,
ExecutionVertexID vertexID,
String taskName,
int indexInSubtaskGroup,
int currentNumberOfSubtasks,
Configuration jobConfiguration,
Configuration taskConfiguration,
Class<? extends AbstractInvokable> invokableClass,
SerializableArrayList<GateDeploymentDescriptor> outputGates,
SerializableArrayList<GateDeploymentDescriptor> inputGates)
Constructs a task deployment descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionListener.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage)
Called when the execution state of the associated task has changed.
|
void |
ExecutionListener.userThreadFinished(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread)
Called when a thread spawn by a user task has finished.
|
void |
ExecutionListener.userThreadStarted(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread)
Called when the user task has started a new thread.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionVertexID |
ExecutionVertexID.fromManagementVertexID(ManagementVertexID vertexID)
Converts the given management vertex ID into the corresponding execution vertex ID.
|
ExecutionVertexID |
ExecutionVertex.getID()
Returns the ID of this execution vertex.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExecutionGraph.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage) |
ExecutionVertex |
ExecutionGraph.getVertexByID(ExecutionVertexID id)
Returns the execution vertex with the given vertex ID.
|
void |
ExecutionGraph.userThreadFinished(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread) |
void |
ExecutionGraph.userThreadStarted(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread) |
void |
VertexAssignmentListener.vertexAssignmentChanged(ExecutionVertexID id,
AllocatedResource newAllocatedResource)
Called when an
ExecutionVertex has been assigned to an AllocatedResource. |
| Modifier and Type | Method and Description |
|---|---|
TaskCancelResult |
Instance.cancelTask(ExecutionVertexID id)
Cancels the task identified by the given ID at the instance's
TaskManager. |
TaskKillResult |
Instance.killTask(ExecutionVertexID id)
Kills the task identified by the given ID at the instance's
TaskManager. |
| Modifier and Type | Method and Description |
|---|---|
void |
ChannelManager.unregister(ExecutionVertexID vertexId,
Task task)
Unregisters the given task from the channel manager.
|
| Modifier and Type | Method and Description |
|---|---|
InputSplitWrapper |
JobManager.requestNextInputSplit(JobID jobID,
ExecutionVertexID vertexID,
IntegerRecord sequenceNumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultExecutionListener.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage) |
void |
DefaultExecutionListener.userThreadFinished(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread) |
void |
DefaultExecutionListener.userThreadStarted(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread) |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskManagerProfiler.unregisterExecutionListener(ExecutionVertexID id)
Unregisters all previously register
ExecutionListener objects for
the vertex identified by the given ID. |
| Modifier and Type | Method and Description |
|---|---|
void |
EnvironmentListenerImpl.executionStateChanged(JobID jobID,
ExecutionVertexID vertexID,
ExecutionState newExecutionState,
String optionalMessage) |
void |
TaskManagerProfilerImpl.registerMainThreadForCPUProfiling(Environment environment,
Thread thread,
ExecutionVertexID executionVertexID) |
void |
TaskManagerProfilerImpl.unregisterExecutionListener(ExecutionVertexID id) |
void |
EnvironmentListenerImpl.userThreadFinished(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread) |
void |
EnvironmentListenerImpl.userThreadStarted(JobID jobID,
ExecutionVertexID vertexID,
Thread userThread) |
| Constructor and Description |
|---|
EnvironmentThreadSet(ThreadMXBean tmx,
Thread mainThread,
ExecutionVertexID executionVertexID) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionVertexID |
InternalOutputGateProfilingData.getExecutionVertexID() |
ExecutionVertexID |
InternalInputGateProfilingData.getExecutionVertexID() |
ExecutionVertexID |
InternalExecutionVertexProfilingData.getExecutionVertexID() |
| Constructor and Description |
|---|
InternalExecutionVertexProfilingData(JobID jobID,
ExecutionVertexID executionVertexID) |
InternalExecutionVertexThreadProfilingData(JobID jobID,
ExecutionVertexID executionVertexID,
int profilingInterval,
int userTime,
int systemTime,
int blockedTime,
int waitedTime) |
InternalInputGateProfilingData(JobID jobID,
ExecutionVertexID executionVertexID,
int gateIndex,
int profilingInterval,
int noRecordsAvailableCounter) |
InternalOutputGateProfilingData(JobID jobID,
ExecutionVertexID executionVertexID,
int gateIndex,
int profilingInterval,
int channelCapacityExhaustedCounter) |
| Modifier and Type | Method and Description |
|---|---|
TaskCancelResult |
TaskOperationProtocol.cancelTask(ExecutionVertexID id)
Advises the task manager to cancel the task with the given ID.
|
TaskKillResult |
TaskOperationProtocol.killTask(ExecutionVertexID id)
Advises the task manager to kill the task with the given ID.
|
InputSplitWrapper |
InputSplitProviderProtocol.requestNextInputSplit(JobID jobID,
ExecutionVertexID vertexID,
IntegerRecord sequenceNumber)
Requests the next split to be consumed by the task with the given execution vertex ID.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutionVertexID |
TaskExecutionState.getID()
Returns the ID of the task this result belongs to
|
ExecutionVertexID |
AbstractTaskResult.getVertexID()
Returns the ID of the task this result belongs to.
|
ExecutionVertexID |
Task.getVertexID()
Returns the ID of this task.
|
| Modifier and Type | Method and Description |
|---|---|
TaskCancelResult |
TaskManager.cancelTask(ExecutionVertexID id) |
void |
TaskManager.executionStateChanged(JobID jobID,
ExecutionVertexID id,
ExecutionState newExecutionState,
String optionalDescription) |
TaskKillResult |
TaskManager.killTask(ExecutionVertexID id) |
| Constructor and Description |
|---|
AbstractTaskResult(ExecutionVertexID vertexID,
AbstractTaskResult.ReturnCode returnCode)
Constructs a new abstract task result.
|
Task(ExecutionVertexID vertexID,
RuntimeEnvironment environment,
TaskManager taskManager) |
TaskCancelResult(ExecutionVertexID vertexID,
AbstractTaskResult.ReturnCode returnCode)
Constructs a new task cancel result.
|
TaskExecutionState(JobID jobID,
ExecutionVertexID id,
ExecutionState executionState,
String description)
Creates a new task execution state.
|
TaskKillResult(ExecutionVertexID vertexID,
AbstractTaskResult.ReturnCode returnCode)
Constructs a new task kill result.
|
TaskSubmissionResult(ExecutionVertexID vertexID,
AbstractTaskResult.ReturnCode returnCode)
Constructs a new task submission result.
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.