| Modifier and Type | Class and Description |
|---|---|
static class |
DAGImpl.OutputKey |
static class |
DAGImpl.StartTransition |
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.hadoop.yarn.state.StateMachineFactory<DAGImpl,DAGState,DAGEventType,DAGEvent> |
stateMachineFactory |
| Constructor and Description |
|---|
DAGImpl(TezDAGID dagId,
org.apache.hadoop.conf.Configuration amConf,
DAGProtos.DAGPlan jobPlan,
org.apache.hadoop.yarn.event.EventHandler eventHandler,
TaskCommunicatorManagerInterface taskCommunicatorManagerInterface,
org.apache.hadoop.security.Credentials dagCredentials,
org.apache.hadoop.yarn.util.Clock clock,
String appUserName,
TaskHeartbeatHandler thh,
AppContext appContext) |
protected static final org.apache.hadoop.yarn.state.StateMachineFactory<DAGImpl,DAGState,DAGEventType,DAGEvent> stateMachineFactory
public DAGImpl(TezDAGID dagId, org.apache.hadoop.conf.Configuration amConf, DAGProtos.DAGPlan jobPlan, org.apache.hadoop.yarn.event.EventHandler eventHandler, TaskCommunicatorManagerInterface taskCommunicatorManagerInterface, org.apache.hadoop.security.Credentials dagCredentials, org.apache.hadoop.yarn.util.Clock clock, String appUserName, TaskHeartbeatHandler thh, AppContext appContext)
protected org.apache.hadoop.yarn.state.StateMachine<DAGState,DAGEventType,DAGEvent> getStateMachine()
public Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getLocalResources()
getLocalResources in interface DAGpublic org.apache.hadoop.conf.Configuration getConf()
public DAGProtos.DAGPlan getJobPlan()
getJobPlan in interface DAGpublic org.apache.hadoop.yarn.event.EventHandler getEventHandler()
getEventHandler in interface DAGpublic Vertex getVertex(TezVertexID vertexID)
public org.apache.hadoop.security.Credentials getCredentials()
getCredentials in interface DagInfopublic org.apache.hadoop.security.UserGroupInformation getDagUGI()
public ACLManager getACLManager()
getACLManager in interface DAGpublic Map<String,TezVertexID> getVertexNameIDMapping()
getVertexNameIDMapping in interface DAGpublic long getStartTime()
getStartTime in interface DAGpublic StateChangeNotifier getStateChangeNotifier()
getStateChangeNotifier in interface DAGpublic Vertex.VertexExecutionContext getDefaultExecutionContext()
getDefaultExecutionContext in interface DAGpublic TezCounters getAllCounters()
DAGgetAllCounters in interface DAGpublic TezCounters getCachedCounters()
getCachedCounters in interface DAGpublic static TezCounters aggrTaskCounters(TezCounters counters, Collection<Vertex> vertices)
public List<String> getDiagnostics()
getDiagnostics in interface DAGpublic float getProgress()
getProgress in interface DAGpublic float getCompletedTaskProgress()
getCompletedTaskProgress in interface DAGpublic Map<TezVertexID,Vertex> getVertices()
getVertices in interface DAGpublic DAGStatusBuilder getDAGStatus(Set<StatusGetOpts> statusOptions)
getDAGStatus in interface DAGpublic DAGStatusBuilder getDAGStatus(Set<StatusGetOpts> statusOptions, long timeoutMillis) throws TezException
getDAGStatus in interface DAGTezExceptionpublic VertexStatusBuilder getVertexStatus(String vertexName, Set<StatusGetOpts> statusOptions)
getVertexStatus in interface DAGpublic TaskAttemptImpl getTaskAttempt(TezTaskAttemptID taId)
protected void initializeVerticesAndStart()
public void handle(DAGEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<DAGEvent>@InterfaceAudience.Private public DAGState getInternalState()
public String getUserName()
getUserName in interface DAGpublic String getName()
public int getTotalVertices()
getTotalVertices in interface DagInfopublic BitSet getVertexDescendants(int vertexIndex)
getVertexDescendants in interface DagInfopublic int getSuccessfulVertices()
getSuccessfulVertices in interface DAGpublic Vertex getVertex(String vertexName)
DAG@InterfaceAudience.Private public TezCounters constructFinalFullcounters()
public boolean isComplete()
isComplete in interface DAGpublic DAGScheduler getDAGScheduler()
getDAGScheduler in interface DAGpublic String[] getLogDirs()
Copyright © 2021 Apache Software Foundation. All rights reserved.