| Modifier and Type | Field | Description |
|---|---|---|
protected static Allocation |
ApplicationMasterService.EMPTY_ALLOCATION |
| Modifier and Type | Field | Description |
|---|---|---|
protected static Allocation |
AbstractYarnScheduler.EMPTY_ALLOCATION |
| Modifier and Type | Method | Description |
|---|---|---|
Allocation |
YarnScheduler.allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
java.util.List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
java.util.List<org.apache.hadoop.yarn.api.records.ContainerId> release,
java.util.List<java.lang.String> blacklistAdditions,
java.util.List<java.lang.String> blacklistRemovals,
ContainerUpdates updateRequests) |
The main API between the ApplicationMaster and the Scheduler.
|
| Modifier and Type | Method | Description |
|---|---|---|
Allocation |
CapacityScheduler.allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
java.util.List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
java.util.List<org.apache.hadoop.yarn.api.records.ContainerId> release,
java.util.List<java.lang.String> blacklistAdditions,
java.util.List<java.lang.String> blacklistRemovals,
ContainerUpdates updateRequests) |
| Modifier and Type | Method | 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 | Description |
|---|---|---|
Allocation |
FairScheduler.allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
java.util.List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
java.util.List<org.apache.hadoop.yarn.api.records.ContainerId> release,
java.util.List<java.lang.String> blacklistAdditions,
java.util.List<java.lang.String> blacklistRemovals,
ContainerUpdates updateRequests) |
| Modifier and Type | Method | Description |
|---|---|---|
Allocation |
FifoScheduler.allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> ask,
java.util.List<org.apache.hadoop.yarn.api.records.SchedulingRequest> schedulingRequests,
java.util.List<org.apache.hadoop.yarn.api.records.ContainerId> release,
java.util.List<java.lang.String> blacklistAdditions,
java.util.List<java.lang.String> blacklistRemovals,
ContainerUpdates updateRequests) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.