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

- Packages that use TaskAttemptListener
  Package | Description
  --- | ---
  org.apache.hadoop.mapred |
  org.apache.hadoop.mapreduce.v2.app |
  org.apache.hadoop.mapreduce.v2.app.job.impl |

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

    Classes in org.apache.hadoop.mapred that implement TaskAttemptListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TaskAttemptListenerImpl` This class is responsible for talking to the task umblical.

    Constructors in org.apache.hadoop.mapred with parameters of type TaskAttemptListener
    Constructor and Description
    `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)`

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

    Fields in org.apache.hadoop.mapreduce.v2.app declared as TaskAttemptListener
    Modifier and Type | Field and Description
    --- | ---
    `protected TaskAttemptListener` | MRAppMaster.`taskAttemptListener`

    Methods in org.apache.hadoop.mapreduce.v2.app that return TaskAttemptListener
    Modifier and Type | Method and Description
    --- | ---
    `protected TaskAttemptListener` | MRAppMaster.`createTaskAttemptListener(AppContext context, AMPreemptionPolicy preemptionPolicy)`
    `TaskAttemptListener` | MRAppMaster.`getTaskAttemptListener()`

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

    Fields in org.apache.hadoop.mapreduce.v2.app.job.impl declared as TaskAttemptListener
    Modifier and Type | Field and Description
    --- | ---
    `protected TaskAttemptListener` | TaskImpl.`taskAttemptListener`

    Constructors in org.apache.hadoop.mapreduce.v2.app.job.impl with parameters of type TaskAttemptListener
    Constructor and 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)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.