org.apache.tez.dag.history.events
Class DAGSubmittedEvent
java.lang.Object
org.apache.tez.dag.history.events.DAGSubmittedEvent
- All Implemented Interfaces:
- HistoryEvent, SummaryEvent
public class DAGSubmittedEvent
- extends Object
- implements HistoryEvent, SummaryEvent
|
Constructor Summary |
DAGSubmittedEvent()
|
DAGSubmittedEvent(org.apache.tez.dag.records.TezDAGID dagID,
long submitTime,
org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPlan,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
|
DAGSubmittedEvent
public DAGSubmittedEvent()
DAGSubmittedEvent
public DAGSubmittedEvent(org.apache.tez.dag.records.TezDAGID dagID,
long submitTime,
org.apache.tez.dag.api.records.DAGProtos.DAGPlan dagPlan,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId)
getEventType
public HistoryEventType getEventType()
- Specified by:
getEventType in interface HistoryEvent
convertToATSJSON
public org.codehaus.jettison.json.JSONObject convertToATSJSON()
throws org.codehaus.jettison.json.JSONException
- Specified by:
convertToATSJSON in interface HistoryEvent
- Throws:
org.codehaus.jettison.json.JSONException
isRecoveryEvent
public boolean isRecoveryEvent()
- Specified by:
isRecoveryEvent in interface HistoryEvent
isHistoryEvent
public boolean isHistoryEvent()
- Specified by:
isHistoryEvent in interface HistoryEvent
toProto
public RecoveryProtos.DAGSubmittedProto toProto()
fromProto
public void fromProto(RecoveryProtos.DAGSubmittedProto proto)
toProtoStream
public void toProtoStream(OutputStream outputStream)
throws IOException
- Specified by:
toProtoStream in interface HistoryEvent
- Throws:
IOException
fromProtoStream
public void fromProtoStream(InputStream inputStream)
throws IOException
- Specified by:
fromProtoStream in interface HistoryEvent
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Object
toSummaryProtoStream
public void toSummaryProtoStream(OutputStream outputStream)
throws IOException
- Specified by:
toSummaryProtoStream in interface SummaryEvent
- Throws:
IOException
getDAGName
public String getDAGName()
getDAGPlan
public org.apache.tez.dag.api.records.DAGProtos.DAGPlan getDAGPlan()
Copyright © 2014 Apache Software Foundation. All rights reserved.