| Modifier and Type | Field and Description | 
|---|---|
| protected static Allocation | ApplicationMasterService. EMPTY_ALLOCATION | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static Allocation | AbstractYarnScheduler. EMPTY_ALLOCATION | 
| Modifier and Type | Method and Description | 
|---|---|
| Allocation | YarnScheduler. allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
        List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
        List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
        List<org.apache.hadoop.yarn.api.records.ContainerId> release,
        List<String> blacklistAdditions,
        List<String> blacklistRemovals,
        ContainerUpdates updateRequests)The main api between the ApplicationMaster and the Scheduler. | 
| Modifier and Type | Method and Description | 
|---|---|
| Allocation | CapacityScheduler. allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
        List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
        List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
        List<org.apache.hadoop.yarn.api.records.ContainerId> release,
        List<String> blacklistAdditions,
        List<String> blacklistRemovals,
        ContainerUpdates updateRequests) | 
| Modifier and Type | Method and Description | 
|---|---|
| Allocation | FiCaSchedulerApp. getAllocation(org.apache.hadoop.yarn.util.resource.ResourceCalculator resourceCalculator,
             org.apache.hadoop.yarn.api.records.Resource clusterResource,
             org.apache.hadoop.yarn.api.records.Resource minimumAllocation)This method produces an Allocation that includes the current view
 of the resources that will be allocated to and preempted from this
 application. | 
| Modifier and Type | Method and Description | 
|---|---|
| Allocation | FairScheduler. allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
        List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
        List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
        List<org.apache.hadoop.yarn.api.records.ContainerId> release,
        List<String> blacklistAdditions,
        List<String> blacklistRemovals,
        ContainerUpdates updateRequests) | 
| Modifier and Type | Method and Description | 
|---|---|
| Allocation | FifoScheduler. allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
        List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
        List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
        List<org.apache.hadoop.yarn.api.records.ContainerId> release,
        List<String> blacklistAdditions,
        List<String> blacklistRemovals,
        ContainerUpdates updateRequests) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.