|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tez.dag.api.client.rpc.DAGClientRPCImpl
public class DAGClientRPCImpl
| Constructor Summary | |
|---|---|
DAGClientRPCImpl(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String dagId,
TezConfiguration conf)
|
|
| Method Summary | |
|---|---|
void |
close()
|
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DAGClientRPCImpl(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String dagId,
TezConfiguration conf)
| Method Detail |
|---|
public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
DAGClient
getApplicationId in interface DAGClientApplicationId
public DAGStatus getDAGStatus(Set<StatusGetOpts> statusOptions)
throws IOException,
TezException
DAGClient
getDAGStatus in interface DAGClientstatusOptions - Optionally, retrieve additional information based on
specified options
IOException
TezException
public VertexStatus getVertexStatus(String vertexName,
Set<StatusGetOpts> statusOptions)
throws IOException,
TezException
DAGClient
getVertexStatus in interface DAGClientstatusOptions - Optionally, retrieve additional information based on
specified options
IOException
TezException
public void tryKillDAG()
throws TezException,
IOException
DAGClient
tryKillDAG in interface DAGClientTezException
IOException
public void close()
throws IOException
close in interface CloseableIOExceptionpublic org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport()
getApplicationReport in interface DAGClient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||