org.apache.tez.dag.history
Interface HistoryEvent
- All Known Implementing Classes:
- AMLaunchedEvent, AMStartedEvent, ContainerLaunchedEvent, DAGCommitStartedEvent, DAGFinishedEvent, DAGInitializedEvent, DAGStartedEvent, DAGSubmittedEvent, TaskAttemptFinishedEvent, TaskAttemptStartedEvent, TaskFinishedEvent, TaskStartedEvent, VertexCommitStartedEvent, VertexDataMovementEventsGeneratedEvent, VertexFinishedEvent, VertexGroupCommitFinishedEvent, VertexGroupCommitStartedEvent, VertexInitializedEvent, VertexParallelismUpdatedEvent, VertexStartedEvent
public interface HistoryEvent
getEventType
HistoryEventType getEventType()
convertToATSJSON
org.codehaus.jettison.json.JSONObject convertToATSJSON()
throws org.codehaus.jettison.json.JSONException
- Throws:
org.codehaus.jettison.json.JSONException
isRecoveryEvent
boolean isRecoveryEvent()
isHistoryEvent
boolean isHistoryEvent()
toProtoStream
void toProtoStream(OutputStream outputStream)
throws IOException
- Throws:
IOException
fromProtoStream
void fromProtoStream(InputStream inputStream)
throws IOException
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All rights reserved.