public class DAGStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
DAGStartedEvent() |
DAGStartedEvent(org.apache.tez.dag.records.TezDAGID dagID,
long startTime,
String user,
String dagName) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.DAGStartedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
org.apache.tez.dag.records.TezDAGID |
getDagID() |
String |
getDagName() |
DAGState |
getDagState() |
HistoryEventType |
getEventType() |
long |
getStartTime() |
String |
getUser() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.DAGStartedProto |
toProto() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream outputStream) |
String |
toString() |
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.DAGStartedProto toProto()
public void fromProto(RecoveryProtos.DAGStartedProto 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 long getStartTime()
public org.apache.tez.dag.records.TezDAGID getDagID()
public String getUser()
public String getDagName()
public DAGState getDagState()
Copyright © 2019 Apache Software Foundation. All rights reserved.