org.apache.tez.dag.app
Interface AppContext
@InterfaceAudience.Private
public interface AppContext
Context interface for sharing information across components in Tez DAG
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.