| Package | Description | 
|---|---|
| org.apache.tez.client | |
| org.apache.tez.dag.api | 
| Modifier and Type | Method and Description | 
|---|---|
static org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext | 
TezClientUtils.createApplicationSubmissionContext(org.apache.hadoop.yarn.api.records.ApplicationId appId,
                                  DAG dag,
                                  String amName,
                                  org.apache.tez.client.AMConfiguration amConfig,
                                  Map<String,org.apache.hadoop.yarn.api.records.LocalResource> tezJarResources,
                                  org.apache.hadoop.security.Credentials sessionCreds,
                                  boolean tezLrsAsArchive,
                                  TezApiVersionInfo apiVersionInfo,
                                  HistoryACLPolicyManager historyACLPolicyManager,
                                  ServicePluginsDescriptor servicePluginsDescriptor,
                                  JavaOptsChecker javaOptsChecker)
Create an ApplicationSubmissionContext to launch a Tez AM 
 | 
DAGClient | 
TezClient.submitDAG(DAG dag)
Submit a DAG. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DAG | 
DAG.addEdge(Edge edge)
Add an  
Edge connecting vertices in the DAG | 
DAG | 
DAG.addEdge(GroupInputEdge edge)
Add a  
GroupInputEdge to the DAG. | 
DAG | 
DAG.addTaskLocalFiles(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> localFiles)
Set the files etc that must be provided to the tasks of this DAG 
 | 
DAG | 
DAG.addURIsForCredentials(Collection<URI> uris)
One of the methods that can be used to provide information about required
 Credentials when running on a secure cluster. 
 | 
DAG | 
DAG.addVertex(Vertex vertex)  | 
static DAG | 
DAG.create(String name)
Create a DAG with the specified name. 
 | 
DAG | 
DAG.setAccessControls(DAGAccessControls accessControls)
Set Access controls for the DAG. 
 | 
DAG | 
DAG.setCallerContext(CallerContext callerContext)
Set the Context in which Tez is being called. 
 | 
DAG | 
DAG.setConf(String property,
       String value)
This is currently used to setup additional configuration parameters which will be available
 in the DAG configuration used in the AppMaster. 
 | 
DAG | 
DAG.setCredentials(org.apache.hadoop.security.Credentials credentials)
One of the methods that can be used to provide information about required
 Credentials when running on a secure cluster. 
 | 
DAG | 
DAG.setDAGInfo(String dagInfo)
Deprecated.  
 | 
DAG | 
DAG.setExecutionContext(Vertex.VertexExecutionContext vertexExecutionContext)
Sets the default execution context for the DAG. 
 | 
Copyright © 2016 Apache Software Foundation. All rights reserved.