Uses of Interface org.apache.hadoop.mapreduce.v2.app.AppContext (Apache Hadoop MapReduce App 3.5.0 API)
Description: use: package: org.apache.hadoop.mapreduce.v2.app, interface: AppContext

# Uses of Interface
org.apache.hadoop.mapreduce.v2.app.AppContext

Packages that use AppContext
Package
Description
org.apache.hadoop.mapred
org.apache.hadoop.mapreduce.jobhistory
org.apache.hadoop.mapreduce.v2.app
org.apache.hadoop.mapreduce.v2.app.client
org.apache.hadoop.mapreduce.v2.app.commit
org.apache.hadoop.mapreduce.v2.app.job.impl
org.apache.hadoop.mapreduce.v2.app.launcher
org.apache.hadoop.mapreduce.v2.app.local
org.apache.hadoop.mapreduce.v2.app.rm
org.apache.hadoop.mapreduce.v2.app.rm.preemption
org.apache.hadoop.mapreduce.v2.app.speculate
org.apache.hadoop.mapreduce.v2.app.webapp
org.apache.hadoop.mapreduce.v2.app.webapp.dao

- ## Uses of AppContext in org.apache.hadoop.mapred

  Constructors in org.apache.hadoop.mapred with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `LocalContainerLauncher(AppContext context, org.apache.hadoop.mapred.TaskUmbilicalProtocol umbilical)`
  ``
  `LocalContainerLauncher(AppContext context, org.apache.hadoop.mapred.TaskUmbilicalProtocol umbilical, ClassLoader jobClassLoader)`
  ``
  `MapTaskAttemptImpl(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskId, int attempt, org.apache.hadoop.yarn.event.EventHandler eventHandler, org.apache.hadoop.fs.Path jobFile, int partition, org.apache.hadoop.mapreduce.split.JobSplit.TaskSplitMetaInfo splitInfo, org.apache.hadoop.mapred.JobConf conf, TaskAttemptListener taskAttemptListener, org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.yarn.util.Clock clock, AppContext appContext)`
  ``
  `ReduceTaskAttemptImpl(org.apache.hadoop.mapreduce.v2.api.records.TaskId id, int attempt, org.apache.hadoop.yarn.event.EventHandler eventHandler, org.apache.hadoop.fs.Path jobFile, int partition, int numMapTasks, org.apache.hadoop.mapred.JobConf conf, TaskAttemptListener taskAttemptListener, org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.yarn.util.Clock clock, AppContext appContext)`
  ``
  `TaskAttemptListenerImpl(AppContext context, org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager jobTokenSecretManager, RMHeartbeatHandler rmHeartbeatHandler, AMPreemptionPolicy preemptionPolicy)`
  ``
  `TaskAttemptListenerImpl(AppContext context, org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager jobTokenSecretManager, RMHeartbeatHandler rmHeartbeatHandler, AMPreemptionPolicy preemptionPolicy, byte[] secretShuffleKey)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.jobhistory

  Constructors in org.apache.hadoop.mapreduce.jobhistory with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `JobHistoryEventHandler(AppContext context, int startCount)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app

  Classes in org.apache.hadoop.mapreduce.v2.app that implement AppContext
  Modifier and Type
  Class
  Description
  `class`
  `MRAppMaster.RunningAppContext`
  Methods in org.apache.hadoop.mapreduce.v2.app that return AppContext
  Modifier and Type
  Method
  Description
  `AppContext`
  MRAppMaster.`getContext()`
  Methods in org.apache.hadoop.mapreduce.v2.app with parameters of type AppContext
  Modifier and Type
  Method
  Description
  `protected ClientService`
  MRAppMaster.`createClientService(AppContext context)`
  `protected org.apache.hadoop.yarn.event.EventHandler<CommitterEvent>`
  MRAppMaster.`createCommitterEventHandler(AppContext context, org.apache.hadoop.mapreduce.OutputCommitter committer)`
  `protected ContainerAllocator`
  MRAppMaster.`createContainerAllocator(ClientService clientService, AppContext context)`
  `protected ContainerLauncher`
  MRAppMaster.`createContainerLauncher(AppContext context)`
  `protected org.apache.hadoop.yarn.event.EventHandler<JobHistoryEvent>`
  MRAppMaster.`createJobHistoryHandler(AppContext context)`
  `protected Speculator`
  MRAppMaster.`createSpeculator(org.apache.hadoop.conf.Configuration conf, AppContext context)`
  `protected TaskAttemptListener`
  MRAppMaster.`createTaskAttemptListener(AppContext context, AMPreemptionPolicy preemptionPolicy)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.client

  Constructors in org.apache.hadoop.mapreduce.v2.app.client with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `MRClientService(AppContext appContext)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.commit

  Constructors in org.apache.hadoop.mapreduce.v2.app.commit with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `CommitterEventHandler(AppContext context, org.apache.hadoop.mapreduce.OutputCommitter committer, RMHeartbeatHandler rmHeartbeatHandler)`
  ``
  `CommitterEventHandler(AppContext context, org.apache.hadoop.mapreduce.OutputCommitter committer, RMHeartbeatHandler rmHeartbeatHandler, ClassLoader jobClassLoader)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.job.impl

  Fields in org.apache.hadoop.mapreduce.v2.app.job.impl declared as AppContext
  Modifier and Type
  Field
  Description
  `protected final AppContext`
  TaskImpl.`appContext`
  Constructors in org.apache.hadoop.mapreduce.v2.app.job.impl with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `JobImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId, org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.event.EventHandler eventHandler, TaskAttemptListener taskAttemptListener, org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager jobTokenSecretManager, org.apache.hadoop.security.Credentials jobCredentials, org.apache.hadoop.yarn.util.Clock clock, Map<org.apache.hadoop.mapreduce.v2.api.records.TaskId,org.apache.hadoop.mapreduce.jobhistory.JobHistoryParser.TaskInfo> completedTasksFromPreviousRun, MRAppMetrics metrics, org.apache.hadoop.mapreduce.OutputCommitter committer, boolean newApiCommitter, String userName, long appSubmitTime, List<org.apache.hadoop.mapreduce.v2.api.records.AMInfo> amInfos, AppContext appContext, JobStateInternal forcedState, String forcedDiagnostic)`
  ``
  `MapTaskImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId, int partition, org.apache.hadoop.yarn.event.EventHandler eventHandler, org.apache.hadoop.fs.Path remoteJobConfFile, org.apache.hadoop.mapred.JobConf conf, org.apache.hadoop.mapreduce.split.JobSplit.TaskSplitMetaInfo taskSplitMetaInfo, TaskAttemptListener taskAttemptListener, org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.yarn.util.Clock clock, int appAttemptId, MRAppMetrics metrics, AppContext appContext)`
  ``
  `ReduceTaskImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId, int partition, org.apache.hadoop.yarn.event.EventHandler eventHandler, org.apache.hadoop.fs.Path jobFile, org.apache.hadoop.mapred.JobConf conf, int numMapTasks, TaskAttemptListener taskAttemptListener, org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.yarn.util.Clock clock, int appAttemptId, MRAppMetrics metrics, AppContext appContext)`
  ``
  `TaskAttemptImpl(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskId, int i, org.apache.hadoop.yarn.event.EventHandler eventHandler, TaskAttemptListener taskAttemptListener, org.apache.hadoop.fs.Path jobFile, int partition, org.apache.hadoop.mapred.JobConf conf, String[] dataLocalHosts, org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.yarn.util.Clock clock, AppContext appContext)`
  ``
  `TaskImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId, org.apache.hadoop.mapreduce.v2.api.records.TaskType taskType, int partition, org.apache.hadoop.yarn.event.EventHandler eventHandler, org.apache.hadoop.fs.Path remoteJobConfFile, org.apache.hadoop.mapred.JobConf conf, TaskAttemptListener taskAttemptListener, org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken, org.apache.hadoop.security.Credentials credentials, org.apache.hadoop.yarn.util.Clock clock, int appAttemptId, MRAppMetrics metrics, AppContext appContext)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.launcher

  Constructors in org.apache.hadoop.mapreduce.v2.app.launcher with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `ContainerLauncherImpl(AppContext context)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.local

  Constructors in org.apache.hadoop.mapreduce.v2.app.local with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `LocalContainerAllocator(ClientService clientService, AppContext context, String nmHost, int nmPort, int nmHttpPort, org.apache.hadoop.yarn.api.records.ContainerId cId)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.rm

  Methods in org.apache.hadoop.mapreduce.v2.app.rm that return AppContext
  Modifier and Type
  Method
  Description
  `protected AppContext`
  RMCommunicator.`getContext()`
  Constructors in org.apache.hadoop.mapreduce.v2.app.rm with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `RMCommunicator(ClientService clientService, AppContext context)`
  ``
  `RMContainerAllocator(ClientService clientService, AppContext context, AMPreemptionPolicy preemptionPolicy)`
  ``
  `RMContainerRequestor(ClientService clientService, AppContext context)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.rm.preemption

  Methods in org.apache.hadoop.mapreduce.v2.app.rm.preemption with parameters of type AppContext
  Modifier and Type
  Method
  Description
  `void`
  AMPreemptionPolicy.`init(AppContext context)`
  `void`
  CheckpointAMPreemptionPolicy.`init(AppContext context)`
  `void`
  KillAMPreemptionPolicy.`init(AppContext context)`
  `void`
  NoopAMPreemptionPolicy.`init(AppContext context)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.speculate

  Fields in org.apache.hadoop.mapreduce.v2.app.speculate declared as AppContext
  Modifier and Type
  Field
  Description
  `protected AppContext`
  StartEndTimesBase.`context`
  `protected AppContext`
  StartEndTimesBase.`context`
  `protected AppContext`
  StartEndTimesBase.`context`
  Methods in org.apache.hadoop.mapreduce.v2.app.speculate with parameters of type AppContext
  Modifier and Type
  Method
  Description
  `void`
  ExponentiallySmoothedTaskRuntimeEstimator.`contextualize(org.apache.hadoop.conf.Configuration conf, AppContext context)`
  `void`
  NullTaskRuntimesEngine.`contextualize(org.apache.hadoop.conf.Configuration conf, AppContext context)`
  `void`
  SimpleExponentialTaskRuntimeEstimator.`contextualize(org.apache.hadoop.conf.Configuration conf, AppContext context)`
  `void`
  TaskRuntimeEstimator.`contextualize(org.apache.hadoop.conf.Configuration conf, AppContext context)`
  Constructors in org.apache.hadoop.mapreduce.v2.app.speculate with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `DefaultSpeculator(org.apache.hadoop.conf.Configuration conf, AppContext context)`
  ``
  `DefaultSpeculator(org.apache.hadoop.conf.Configuration conf, AppContext context, TaskRuntimeEstimator estimator, org.apache.hadoop.yarn.util.Clock clock)`
  ``
  `DefaultSpeculator(org.apache.hadoop.conf.Configuration conf, AppContext context, org.apache.hadoop.yarn.util.Clock clock)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.webapp

  Methods in org.apache.hadoop.mapreduce.v2.app.webapp with parameters of type AppContext
  Modifier and Type
  Method
  Description
  `static Job`
  AMWebServices.`getJobFromContainerIdString(String cid, AppContext appCtx)`
  `static Job`
  AMWebServices.`getJobFromJobIdString(String jid, AppContext appCtx)`
  convert a job id string to an actual job and handle all the error checking.
  Constructors in org.apache.hadoop.mapreduce.v2.app.webapp with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `AMWebApp(AppContext appContext)`
  ``
  `AMWebServices(App app, AppContext context)`
  ``
  `App(AppContext ctx)`

- ## Uses of AppContext in org.apache.hadoop.mapreduce.v2.app.webapp.dao

  Constructors in org.apache.hadoop.mapreduce.v2.app.webapp.dao with parameters of type AppContext
  Modifier
  Constructor
  Description
  ``
  `AppInfo(App app, AppContext context)`
  ``
  `BlacklistedNodesInfo(AppContext appContext)`
  ``
  `JobCounterInfo(AppContext ctx, Job job)`