public interface PreemptableResourceScheduler extends ResourceScheduler
| Modifier and Type | Method and Description | 
|---|---|
| void | killReservedContainer(RMContainer container)If the scheduler support container reservations, this method is used to
 ask the scheduler to drop the reservation for the given container. | 
| void | markContainerForKillable(RMContainer container)Ask the scheduler to forcibly interrupt the container given as input | 
| void | markContainerForPreemption(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
                          RMContainer container)Ask the scheduler to obtain back the container from a specific application
 by issuing a preemption request | 
attemptAllocationOnNode, getNodeIds, reinitialize, resetSchedulerMetrics, setRMContextaddQueue, allocate, checkAccess, checkAndGetApplicationLifetime, checkAndGetApplicationPriority, getAppResourceUsageReport, getAppsInQueue, getClusterResource, getMaxClusterLevelAppPriority, getMaximumApplicationLifetime, getMaximumResourceCapability, getMaximumResourceCapability, getMinimumResourceCapability, getNodeReport, getNormalizedResource, getNumClusterNodes, getPendingResourceRequestsForAttempt, getPendingSchedulingRequestsForAttempt, getPlanQueues, getQueueInfo, getQueueUserAclInfo, getResourceCalculator, getRMContainer, getRootQueueMetrics, getSchedulerAppInfo, getSchedulerNode, getSchedulingResourceTypes, getTransferredContainers, killAllAppsInQueue, moveAllApps, moveApplication, preValidateMoveApplication, removeQueue, setClusterMaxPriority, setEntitlement, updateApplicationPriorityrecovervoid killReservedContainer(RMContainer container)
container - Reference to reserved container allocation.void markContainerForPreemption(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
                                RMContainer container)
aid - the application from which we want to get a container backcontainer - the container we want backvoid markContainerForKillable(RMContainer container)
container - Copyright © 2008–2023 Apache Software Foundation. All rights reserved.