Jeff Zhang created TEZ-2590:
-------------------------------
Summary: V_TASK_ATTEMPT_COMPLETED is added as both ignorable
events and normal state machine transition
Key: TEZ-2590
URL: https://issues.apache.org/jira/browse/TEZ-2590
Project: Apache Tez
Issue Type: Bug
Reporter: Jeff Zhang
V_TASK_ATTEMPT_COMPLETED is added as both ignorable events and normal state
machine transition.
{code}
// Ignore-able events
.addTransition(VertexState.SUCCEEDED, VertexState.SUCCEEDED,
EnumSet.of(VertexEventType.V_TERMINATE,
VertexEventType.V_ROOT_INPUT_FAILED,
VertexEventType.V_TASK_ATTEMPT_COMPLETED,
// after we are done reruns of source tasks should not affect
// us. These reruns may be triggered by other consumer
vertices.
// We should have been in RUNNING state if we had triggered
the
// reruns.
VertexEventType.V_SOURCE_TASK_ATTEMPT_COMPLETED))
.addTransition(VertexState.SUCCEEDED, VertexState.SUCCEEDED,
VertexEventType.V_TASK_ATTEMPT_COMPLETED,
new TaskAttemptCompletedEventTransition())
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)