| Modifier and Type | Class and Description |
|---|---|
static class |
DAGImpl.StartTransition |
| Modifier and Type | Field and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
conf |
protected static org.apache.hadoop.yarn.state.StateMachineFactory<DAGImpl,DAGState,DAGEventType,DAGEvent> |
stateMachineFactory |
| Constructor and Description |
|---|
DAGImpl(org.apache.tez.dag.records.TezDAGID dagId,
org.apache.hadoop.conf.Configuration conf,
org.apache.tez.dag.api.records.DAGProtos.DAGPlan jobPlan,
org.apache.hadoop.yarn.event.EventHandler eventHandler,
TaskAttemptListener taskAttemptListener,
org.apache.hadoop.security.Credentials dagCredentials,
org.apache.hadoop.yarn.util.Clock clock,
String appUserName,
TaskHeartbeatHandler thh,
AppContext appContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
constructFinalFullcounters() |
org.apache.tez.common.security.ACLManager |
getACLManager() |
org.apache.tez.common.counters.TezCounters |
getAllCounters()
Get all the counters of this DAG.
|
org.apache.hadoop.conf.Configuration |
getConf() |
org.apache.hadoop.security.Credentials |
getCredentials() |
DAGStatusBuilder |
getDAGStatus(Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) |
org.apache.hadoop.security.UserGroupInformation |
getDagUGI() |
List<String> |
getDiagnostics() |
org.apache.tez.dag.records.TezDAGID |
getID() |
DAGState |
getInternalState() |
org.apache.tez.dag.api.records.DAGProtos.DAGPlan |
getJobPlan() |
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> |
getLocalResources() |
String |
getName() |
float |
getProgress() |
DAGReport |
getReport() |
DAGState |
getState() |
protected org.apache.hadoop.yarn.state.StateMachine<DAGState,DAGEventType,DAGEvent> |
getStateMachine() |
int |
getSuccessfulVertices() |
TaskAttemptImpl |
getTaskAttempt(org.apache.tez.dag.records.TezTaskAttemptID taId) |
int |
getTotalVertices() |
String |
getUserName() |
Vertex |
getVertex(String vertexName)
Get Vertex by vertex name
|
Vertex |
getVertex(org.apache.tez.dag.records.TezVertexID vertexID) |
Map<String,org.apache.tez.dag.records.TezVertexID> |
getVertexNameIDMapping() |
VertexStatusBuilder |
getVertexStatus(String vertexName,
Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions) |
Map<org.apache.tez.dag.records.TezVertexID,Vertex> |
getVertices() |
void |
handle(DAGEvent event) |
static org.apache.tez.common.counters.TezCounters |
incrTaskCounters(org.apache.tez.common.counters.TezCounters counters,
Collection<Vertex> vertices) |
DAGState |
initializeDAG() |
protected void |
initializeVerticesAndStart() |
boolean |
isComplete() |
boolean |
isUber() |
DAGState |
restoreFromEvent(HistoryEvent historyEvent) |
public final org.apache.hadoop.conf.Configuration conf
protected static final org.apache.hadoop.yarn.state.StateMachineFactory<DAGImpl,DAGState,DAGEventType,DAGEvent> stateMachineFactory
public DAGImpl(org.apache.tez.dag.records.TezDAGID dagId,
org.apache.hadoop.conf.Configuration conf,
org.apache.tez.dag.api.records.DAGProtos.DAGPlan jobPlan,
org.apache.hadoop.yarn.event.EventHandler eventHandler,
TaskAttemptListener taskAttemptListener,
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 org.apache.tez.dag.api.records.DAGProtos.DAGPlan getJobPlan()
getJobPlan in interface DAGpublic Vertex getVertex(org.apache.tez.dag.records.TezVertexID vertexID)
public org.apache.hadoop.security.Credentials getCredentials()
getCredentials in interface DAGpublic org.apache.hadoop.security.UserGroupInformation getDagUGI()
public DAGState restoreFromEvent(HistoryEvent historyEvent)
restoreFromEvent in interface DAGpublic org.apache.tez.common.security.ACLManager getACLManager()
getACLManager in interface DAGpublic Map<String,org.apache.tez.dag.records.TezVertexID> getVertexNameIDMapping()
getVertexNameIDMapping in interface DAGpublic org.apache.tez.common.counters.TezCounters getAllCounters()
DAGgetAllCounters in interface DAGpublic static org.apache.tez.common.counters.TezCounters incrTaskCounters(org.apache.tez.common.counters.TezCounters counters,
Collection<Vertex> vertices)
public List<String> getDiagnostics()
getDiagnostics in interface DAGpublic float getProgress()
getProgress in interface DAGpublic Map<org.apache.tez.dag.records.TezVertexID,Vertex> getVertices()
getVertices in interface DAGpublic DAGStatusBuilder getDAGStatus(Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions)
getDAGStatus in interface DAGpublic VertexStatusBuilder getVertexStatus(String vertexName, Set<org.apache.tez.dag.api.client.StatusGetOpts> statusOptions)
getVertexStatus in interface DAGpublic TaskAttemptImpl getTaskAttempt(org.apache.tez.dag.records.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 int getTotalVertices()
getTotalVertices in interface DAGpublic int getSuccessfulVertices()
getSuccessfulVertices in interface DAGpublic DAGState initializeDAG()
public Vertex getVertex(String vertexName)
DAG@InterfaceAudience.Private public void constructFinalFullcounters()
public boolean isComplete()
isComplete in interface DAGCopyright © 2014 Apache Software Foundation. All rights reserved.