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) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskAttemptFinishedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
org.apache.tez.common.counters.TezCounters |
getCounters() |
String |
getDiagnostics() |
HistoryEventType |
getEventType() |
long |
getFinishTime() |
long |
getStartTime() |
TaskAttemptState |
getState() |
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)
public TaskAttemptFinishedEvent()
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.TaskAttemptFinishedProto toProto()
public void fromProto(RecoveryProtos.TaskAttemptFinishedProto proto)
public 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()
Copyright © 2015 Apache Software Foundation. All rights reserved.