public class TaskAttemptStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskAttemptStartedEvent() |
TaskAttemptStartedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long startTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String inProgressLogsUrl,
String completedLogsUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskAttemptStartedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
String |
getCompletedLogsUrl() |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
HistoryEventType |
getEventType() |
String |
getInProgressLogsUrl() |
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(OutputStream outputStream) |
String |
toString() |
public TaskAttemptStartedEvent(org.apache.tez.dag.records.TezTaskAttemptID taId,
String vertexName,
long startTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
String inProgressLogsUrl,
String completedLogsUrl)
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(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 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()
Copyright © 2014 Apache Software Foundation. All rights reserved.