public class TaskAttemptStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskAttemptStartedEvent() |
TaskAttemptStartedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long launchTime,
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.TaskAttemptStartedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
String |
getCompletedLogsUrl() |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
HistoryEventType |
getEventType() |
String |
getInProgressLogsUrl() |
String |
getNodeHttpAddress() |
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
long |
getStartTime() |
org.apache.tez.dag.records.TezTaskAttemptID |
getTaskAttemptID() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.TaskAttemptStartedProto |
toProto() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream outputStream) |
String |
toString() |
public TaskAttemptStartedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long launchTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String inProgressLogsUrl,
String completedLogsUrl,
String nodeHttpAddress)
public TaskAttemptStartedEvent()
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.TaskAttemptStartedProto toProto()
public void fromProto(RecoveryProtos.TaskAttemptStartedProto proto)
public 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 long getStartTime()
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.