public class TaskAttemptFinishedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskAttemptFinishedEvent() |
TaskAttemptFinishedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long startTime,
long finishTime,
TaskAttemptState state,
org.apache.tez.dag.records.TaskAttemptTerminationCause error,
String diagnostics,
org.apache.tez.common.counters.TezCounters counters,
List<TaskAttemptImpl.DataEventDependencyInfo> dataEvents,
List<org.apache.tez.runtime.api.impl.TezEvent> taGeneratedEvents,
long creationTime,
org.apache.tez.dag.records.TezTaskAttemptID creationCausalTA,
long allocationTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskAttemptFinishedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
long |
getAllocationTime() |
org.apache.tez.common.counters.TezCounters |
getCounters() |
org.apache.tez.dag.records.TezTaskAttemptID |
getCreationCausalTA() |
long |
getCreationTime() |
List<TaskAttemptImpl.DataEventDependencyInfo> |
getDataEvents() |
String |
getDiagnostics() |
HistoryEventType |
getEventType() |
long |
getFinishTime() |
long |
getStartTime() |
TaskAttemptState |
getState() |
List<org.apache.tez.runtime.api.impl.TezEvent> |
getTAGeneratedEvents() |
org.apache.tez.dag.records.TaskAttemptTerminationCause |
getTaskAttemptError() |
org.apache.tez.dag.records.TezTaskAttemptID |
getTaskAttemptID() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.TaskAttemptFinishedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public TaskAttemptFinishedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long startTime,
long finishTime,
TaskAttemptState state,
org.apache.tez.dag.records.TaskAttemptTerminationCause error,
String diagnostics,
org.apache.tez.common.counters.TezCounters counters,
List<TaskAttemptImpl.DataEventDependencyInfo> dataEvents,
List<org.apache.tez.runtime.api.impl.TezEvent> taGeneratedEvents,
long creationTime,
org.apache.tez.dag.records.TezTaskAttemptID creationCausalTA,
long allocationTime)
public TaskAttemptFinishedEvent()
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic List<TaskAttemptImpl.DataEventDependencyInfo> getDataEvents()
public RecoveryProtos.TaskAttemptFinishedProto toProto() throws IOException
IOExceptionpublic void fromProto(RecoveryProtos.TaskAttemptFinishedProto proto) throws IOException
IOExceptionpublic void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream inputStream) throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic org.apache.tez.dag.records.TezTaskAttemptID getTaskAttemptID()
public org.apache.tez.common.counters.TezCounters getCounters()
public String getDiagnostics()
public org.apache.tez.dag.records.TaskAttemptTerminationCause getTaskAttemptError()
public long getFinishTime()
public TaskAttemptState getState()
public long getStartTime()
public long getCreationTime()
public long getAllocationTime()
public org.apache.tez.dag.records.TezTaskAttemptID getCreationCausalTA()
public List<org.apache.tez.runtime.api.impl.TezEvent> getTAGeneratedEvents()
Copyright © 2016 Apache Software Foundation. All rights reserved.