| Package | Description | 
|---|---|
| org.apache.hadoop.mapred | |
| org.apache.hadoop.mapreduce.v2.app | |
| org.apache.hadoop.mapreduce.v2.app.rm | |
| org.apache.hadoop.mapreduce.v2.app.rm.preemption | 
| Constructor and Description | 
|---|
| 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) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected AMPreemptionPolicy | MRAppMaster. createPreemptionPolicy(org.apache.hadoop.conf.Configuration conf) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected TaskAttemptListener | MRAppMaster. createTaskAttemptListener(AppContext context,
                         AMPreemptionPolicy preemptionPolicy) | 
| Constructor and Description | 
|---|
| RMContainerAllocator(ClientService clientService,
                    AppContext context,
                    AMPreemptionPolicy preemptionPolicy) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CheckpointAMPreemptionPolicyThis policy works in combination with an implementation of task
 checkpointing. | 
| class  | KillAMPreemptionPolicySample policy that aggressively kills tasks when requested. | 
| class  | NoopAMPreemptionPolicyNoOp policy that ignores all the requests for preemption. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.