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(InputStream 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(OutputStream 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(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream 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 © 2015 Apache Software Foundation. All rights reserved.