org.apache.tez.dag.app.dag.event
Class VertexEventTermination

java.lang.Object
  extended by org.apache.hadoop.yarn.event.AbstractEvent<VertexEventType>
      extended by org.apache.tez.dag.app.dag.event.VertexEvent
          extended by org.apache.tez.dag.app.dag.event.VertexEventTermination
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<VertexEventType>

public class VertexEventTermination
extends VertexEvent

Specialized VertexEvent for termination conditions. The VertexEventType is always V_TERMINATE. The terminationCause denotes the specific reason why the vertex is being terminated.


Constructor Summary
VertexEventTermination(org.apache.tez.dag.records.TezVertexID vertexId, VertexTerminationCause terminationCause)
           
 
Method Summary
 VertexTerminationCause getTerminationCause()
           
 
Methods inherited from class org.apache.tez.dag.app.dag.event.VertexEvent
getVertexId
 
Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VertexEventTermination

public VertexEventTermination(org.apache.tez.dag.records.TezVertexID vertexId,
                              VertexTerminationCause terminationCause)
Method Detail

getTerminationCause

public VertexTerminationCause getTerminationCause()


Copyright © 2014 Apache Software Foundation. All rights reserved.