| Modifier and Type | Method | Description |
|---|---|---|
static ContainerUpdates |
RMServerUtils.validateAndSplitUpdateResourceRequests(RMContext rmContext,
org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request,
org.apache.hadoop.yarn.api.records.Resource maximumAllocation,
java.util.List<org.apache.hadoop.yarn.api.records.UpdateContainerError> updateErrors) |
Check if we have:
- Request for same containerId and different target resource.
|
| 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.
|
protected void |
AbstractYarnScheduler.handleContainerUpdates(SchedulerApplicationAttempt appAttempt,
ContainerUpdates updates) |
| 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 |
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.