org.apache.tez.dag.api.client
Class DAGStatus
java.lang.Object
org.apache.tez.dag.api.client.DAGStatus
public class DAGStatus
- extends Object
DAGStatus
public DAGStatus(DAGProtos.DAGStatusProtoOrBuilder proxy)
getState
public DAGStatus.State getState()
isCompleted
public boolean isCompleted()
getDiagnostics
public List<String> getDiagnostics()
getDAGProgress
public Progress getDAGProgress()
- Gets overall progress value of the DAG.
- Returns:
- Progress of the DAG. Maybe null when the DAG is not running. Maybe
null when the DAG is running and the application master cannot be
reached - e.g. when the execution platform has restarted the
application master.
- See Also:
Progress
getVertexProgress
public Map<String,Progress> getVertexProgress()
- Get the progress of a vertex in the DAG
- Returns:
- Progress of the vertex. May be null when the DAG is not running.
Maybe null when the DAG is running and the application master
cannot be reached - e.g. when the execution platform has restarted
the application master.
- See Also:
Progress
getDAGCounters
public TezCounters getDAGCounters()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 Apache Software Foundation. All rights reserved.