org.apache.tez.dag.api.client
Class DAGStatus

java.lang.Object
  extended by org.apache.tez.dag.api.client.DAGStatus

public class DAGStatus
extends Object


Nested Class Summary
static class DAGStatus.State
           
 
Constructor Summary
DAGStatus(DAGProtos.DAGStatusProtoOrBuilder proxy)
           
 
Method Summary
 TezCounters getDAGCounters()
           
 Progress getDAGProgress()
          Gets overall progress value of the DAG.
 List<String> getDiagnostics()
           
 DAGStatus.State getState()
           
 Map<String,Progress> getVertexProgress()
          Get the progress of a vertex in the DAG
 boolean isCompleted()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DAGStatus

public DAGStatus(DAGProtos.DAGStatusProtoOrBuilder proxy)
Method Detail

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.