org.apache.tez.dag.app
Interface AppContext


@InterfaceAudience.Private
public interface AppContext

Context interface for sharing information across components in Tez DAG


Method Summary
 AMContainerMap getAllContainers()
           
 AMNodeMap getAllNodes()
           
 org.apache.hadoop.conf.Configuration getAMConf()
           
 DAGAppMasterState getAMState()
           
 Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> getApplicationACLs()
           
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID()
           
 String getApplicationName()
           
 DAGAppMaster getAppMaster()
           
 org.apache.hadoop.yarn.util.Clock getClock()
           
 ClusterInfo getClusterInfo()
           
 DAG getCurrentDAG()
           
 org.apache.tez.dag.records.TezDAGID getCurrentDAGID()
           
 org.apache.hadoop.fs.Path getCurrentRecoveryDir()
           
 org.apache.hadoop.yarn.event.EventHandler getEventHandler()
           
 HistoryEventHandler getHistoryHandler()
           
 Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getSessionResources()
           
 long getStartTime()
           
 TaskSchedulerEventHandler getTaskScheduler()
           
 String getUser()
           
 boolean isRecoveryEnabled()
           
 boolean isSession()
           
 void setDAG(DAG dag)
           
 

Method Detail

getAppMaster

DAGAppMaster getAppMaster()

getAMConf

org.apache.hadoop.conf.Configuration getAMConf()

getApplicationID

org.apache.hadoop.yarn.api.records.ApplicationId getApplicationID()

getCurrentDAGID

org.apache.tez.dag.records.TezDAGID getCurrentDAGID()

getApplicationAttemptId

org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()

getApplicationName

String getApplicationName()

getApplicationACLs

Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,String> getApplicationACLs()

getStartTime

long getStartTime()

getUser

String getUser()

getCurrentDAG

DAG getCurrentDAG()

setDAG

void setDAG(DAG dag)

getEventHandler

org.apache.hadoop.yarn.event.EventHandler getEventHandler()

getClock

org.apache.hadoop.yarn.util.Clock getClock()

getClusterInfo

ClusterInfo getClusterInfo()

getAllContainers

AMContainerMap getAllContainers()

getAllNodes

AMNodeMap getAllNodes()

getTaskScheduler

TaskSchedulerEventHandler getTaskScheduler()

getSessionResources

Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getSessionResources()

isSession

boolean isSession()

getAMState

DAGAppMasterState getAMState()

getHistoryHandler

HistoryEventHandler getHistoryHandler()

getCurrentRecoveryDir

org.apache.hadoop.fs.Path getCurrentRecoveryDir()

isRecoveryEnabled

boolean isRecoveryEnabled()


Copyright © 2014 Apache Software Foundation. All rights reserved.