public class TaskFinishedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskFinishedEvent() |
TaskFinishedEvent(org.apache.tez.dag.records.TezTaskID taskID,
String vertexName,
long startTime,
long finishTime,
org.apache.tez.dag.records.TezTaskAttemptID successfulAttemptID,
TaskState state,
String diagnostics,
org.apache.tez.common.counters.TezCounters counters) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskFinishedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
String |
getDiagnostics() |
HistoryEventType |
getEventType() |
long |
getFinishTime() |
long |
getStartTime() |
TaskState |
getState() |
org.apache.tez.dag.records.TezTaskAttemptID |
getSuccessfulAttemptID() |
org.apache.tez.dag.records.TezTaskID |
getTaskID() |
org.apache.tez.common.counters.TezCounters |
getTezCounters() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.TaskFinishedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public TaskFinishedEvent(org.apache.tez.dag.records.TezTaskID taskID,
String vertexName,
long startTime,
long finishTime,
org.apache.tez.dag.records.TezTaskAttemptID successfulAttemptID,
TaskState state,
String diagnostics,
org.apache.tez.common.counters.TezCounters counters)
public TaskFinishedEvent()
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.TaskFinishedProto toProto()
public void fromProto(RecoveryProtos.TaskFinishedProto 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.TezTaskID getTaskID()
public TaskState getState()
public long getFinishTime()
public org.apache.tez.common.counters.TezCounters getTezCounters()
public org.apache.tez.dag.records.TezTaskAttemptID getSuccessfulAttemptID()
public long getStartTime()
public String getDiagnostics()
Copyright © 2014 Apache Software Foundation. All rights reserved.