public class VertexFinishedEvent extends Object implements HistoryEvent, SummaryEvent
| Constructor and Description |
|---|
VertexFinishedEvent() |
VertexFinishedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
String vertexName,
int numTasks,
long initRequestedTime,
long initedTime,
long startRequestedTime,
long startedTime,
long finishTime,
VertexState state,
String diagnostics,
org.apache.tez.common.counters.TezCounters counters,
VertexStats vertexStats,
Map<String,Integer> vertexTaskStats,
ServicePluginInfo servicePluginInfo) |
public VertexFinishedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
String vertexName,
int numTasks,
long initRequestedTime,
long initedTime,
long startRequestedTime,
long startedTime,
long finishTime,
VertexState state,
String diagnostics,
org.apache.tez.common.counters.TezCounters counters,
VertexStats vertexStats,
Map<String,Integer> vertexTaskStats,
ServicePluginInfo servicePluginInfo)
public VertexFinishedEvent()
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexFinishedProto toProto()
public void fromProto(RecoveryProtos.VertexFinishedProto 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.TezVertexID getVertexID()
public VertexState getState()
public long getFinishTime()
public String getDiagnostics()
public org.apache.tez.common.counters.TezCounters getTezCounters()
public VertexStats getVertexStats()
public String getVertexName()
public long getStartTime()
public int getNumTasks()
public 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 boolean isFromSummary()
public ServicePluginInfo getServicePluginInfo()
Copyright © 2019 Apache Software Foundation. All rights reserved.