org.apache.tez.dag.api.client
Interface DAGClient

All Superinterfaces:
Closeable
All Known Implementing Classes:
DAGClientRPCImpl

public interface DAGClient
extends Closeable


Method Summary
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
          Get the YARN ApplicationId for the app running the DAG
 org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport()
           
 DAGStatus getDAGStatus(Set<StatusGetOpts> statusOptions)
          Get the status of the specified DAG
 VertexStatus getVertexStatus(String vertexName, Set<StatusGetOpts> statusOptions)
          Get the status of a Vertex of a DAG
 void tryKillDAG()
          Kill a running DAG
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getApplicationId

org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
Get the YARN ApplicationId for the app running the DAG

Returns:
ApplicationId

getApplicationReport

@InterfaceAudience.Private
org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport()

getDAGStatus

DAGStatus getDAGStatus(Set<StatusGetOpts> statusOptions)
                       throws IOException,
                              TezException
Get the status of the specified DAG

Parameters:
statusOptions - Optionally, retrieve additional information based on specified options
Throws:
IOException
TezException

getVertexStatus

VertexStatus getVertexStatus(String vertexName,
                             Set<StatusGetOpts> statusOptions)
                             throws IOException,
                                    TezException
Get the status of a Vertex of a DAG

Parameters:
statusOptions - Optionally, retrieve additional information based on specified options
Throws:
IOException
TezException

tryKillDAG

void tryKillDAG()
                throws IOException,
                       TezException
Kill a running DAG

Throws:
IOException
TezException


Copyright © 2014 Apache Software Foundation. All rights reserved.