public class DAGClientHandler extends Object
| Constructor and Description |
|---|
DAGClientHandler(DAGAppMaster dagAppMaster) |
| Modifier and Type | Method and Description |
|---|---|
ACLManager |
getACLManager() |
ACLManager |
getACLManager(String dagIdStr) |
List<String> |
getAllDAGs() |
DAGStatus |
getDAGStatus(String dagIdStr,
Set<StatusGetOpts> statusOptions) |
DAGStatus |
getDAGStatus(String dagIdStr,
Set<StatusGetOpts> statusOptions,
long timeout) |
long |
getLastHeartbeatTime() |
TezAppMasterStatus |
getTezAppMasterStatus() |
VertexStatus |
getVertexStatus(String dagIdStr,
String vertexName,
Set<StatusGetOpts> statusOptions) |
String |
getWebUIAddress() |
void |
shutdownAM() |
String |
submitDAG(DAGProtos.DAGPlan dagPlan,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> additionalAmResources) |
void |
tryKillDAG(String dagIdStr) |
void |
updateLastHeartbeatTime() |
public DAGClientHandler(DAGAppMaster dagAppMaster)
public List<String> getAllDAGs() throws TezException
TezExceptionpublic DAGStatus getDAGStatus(String dagIdStr, Set<StatusGetOpts> statusOptions) throws TezException
TezExceptionpublic DAGStatus getDAGStatus(String dagIdStr, Set<StatusGetOpts> statusOptions, long timeout) throws TezException
TezExceptionpublic VertexStatus getVertexStatus(String dagIdStr, String vertexName, Set<StatusGetOpts> statusOptions) throws TezException
TezExceptionpublic void tryKillDAG(String dagIdStr) throws TezException
TezExceptionpublic String submitDAG(DAGProtos.DAGPlan dagPlan, Map<String,org.apache.hadoop.yarn.api.records.LocalResource> additionalAmResources) throws TezException
TezExceptionpublic void shutdownAM()
throws TezException
TezExceptionpublic TezAppMasterStatus getTezAppMasterStatus() throws TezException
TezExceptionpublic ACLManager getACLManager()
public ACLManager getACLManager(String dagIdStr) throws TezException
TezExceptionpublic void updateLastHeartbeatTime()
public long getLastHeartbeatTime()
public String getWebUIAddress()
Copyright © 2022 Apache Software Foundation. All rights reserved.