public class DAGFinishedEvent extends Object implements HistoryEvent, SummaryEvent, DAGIDAware
| Constructor and Description |
|---|
DAGFinishedEvent() |
DAGFinishedEvent(TezDAGID dagId,
long startTime,
long finishTime,
DAGState state,
String diagnostics,
TezCounters counters,
String user,
String dagName,
Map<String,Integer> dagTaskStats,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
DAGProtos.DAGPlan dagPlan) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetApplicationIdpublic DAGFinishedEvent()
public DAGFinishedEvent(TezDAGID dagId, long startTime, long finishTime, DAGState state, String diagnostics, TezCounters counters, String user, String dagName, Map<String,Integer> dagTaskStats, org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId, DAGProtos.DAGPlan dagPlan)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.DAGFinishedProto toProto()
public void fromProto(RecoveryProtos.DAGFinishedProto 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 void toSummaryProtoStream(OutputStream outputStream) throws IOException
toSummaryProtoStream in interface SummaryEventIOExceptionpublic void fromSummaryProtoStream(RecoveryProtos.SummaryEventProto proto) throws IOException
fromSummaryProtoStream in interface SummaryEventIOExceptionpublic boolean writeToRecoveryImmediately()
SummaryEventwriteToRecoveryImmediately in interface SummaryEventpublic long getFinishTime()
public DAGState getState()
public TezDAGID getDAGID()
getDAGID in interface DAGIDAwarepublic long getStartTime()
public String getDiagnostics()
public TezCounters getTezCounters()
public String getUser()
public String getDagName()
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
public DAGProtos.DAGPlan getDAGPlan()
Copyright © 2022 Apache Software Foundation. All rights reserved.