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.runtime.api.TaskFailureType taskFailureType,
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,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String inProgressLogsUrl,
String completedLogsUrl,
String nodeHttpAddress) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskAttemptFinishedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
long |
getAllocationTime() |
String |
getCompletedLogsUrl() |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
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() |
String |
getInProgressLogsUrl() |
String |
getNodeHttpAddress() |
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
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() |
org.apache.tez.runtime.api.TaskFailureType |
getTaskFailureType() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.TaskAttemptFinishedProto |
toProto() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream outputStream) |
String |
toString() |
public TaskAttemptFinishedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long startTime,
long finishTime,
TaskAttemptState state,
@Nullable
org.apache.tez.runtime.api.TaskFailureType taskFailureType,
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,
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 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 org.apache.tez.runtime.api.TaskFailureType getTaskFailureType()
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()
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 © 2019 Apache Software Foundation. All rights reserved.