public class TaskAttemptFinishedEvent extends Object implements HistoryEvent, TaskAttemptIDAware
| Constructor and Description |
|---|
TaskAttemptFinishedEvent() |
TaskAttemptFinishedEvent(TezTaskAttemptID taId,
String vertexName,
long startTime,
long finishTime,
TaskAttemptState state,
TaskFailureType taskFailureType,
TaskAttemptTerminationCause error,
String diagnostics,
TezCounters counters,
List<TaskAttemptImpl.DataEventDependencyInfo> dataEvents,
List<TezEvent> taGeneratedEvents,
long creationTime,
TezTaskAttemptID creationCausalTA,
long allocationTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String inProgressLogsUrl,
String completedLogsUrl,
String nodeHttpAddress) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTaskIDgetVertexIDgetDAGIDgetApplicationIdpublic TaskAttemptFinishedEvent(TezTaskAttemptID taId, String vertexName, long startTime, long finishTime, TaskAttemptState state, @Nullable TaskFailureType taskFailureType, TaskAttemptTerminationCause error, String diagnostics, TezCounters counters, List<TaskAttemptImpl.DataEventDependencyInfo> dataEvents, List<TezEvent> taGeneratedEvents, long creationTime, TezTaskAttemptID creationCausalTA, long allocationTime, org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.NodeId nodeId, String inProgressLogsUrl, String completedLogsUrl, String nodeHttpAddress)
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(com.google.protobuf.CodedOutputStream outputStream)
throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(com.google.protobuf.CodedInputStream inputStream)
throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic TezTaskAttemptID getTaskAttemptID()
getTaskAttemptID in interface TaskAttemptIDAwarepublic TezCounters getCounters()
public String getDiagnostics()
public TaskAttemptTerminationCause getTaskAttemptError()
public long getFinishTime()
public TaskAttemptState getState()
public TaskFailureType getTaskFailureType()
public long getStartTime()
public long getCreationTime()
public long getAllocationTime()
public TezTaskAttemptID getCreationCausalTA()
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
public String getInProgressLogsUrl()
public String getCompletedLogsUrl()
public String getNodeHttpAddress()
Copyright © 2022 Apache Software Foundation. All rights reserved.