Modifier and Type | Method and Description |
---|---|
static ContainerUpdates |
RMServerUtils.validateAndSplitUpdateResourceRequests(RMContext rmContext,
org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request,
org.apache.hadoop.yarn.api.records.Resource maximumAllocation,
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 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.ContainerId> release,
List<String> blacklistAdditions,
List<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 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.ContainerId> release,
List<String> blacklistAdditions,
List<String> blacklistRemovals,
ContainerUpdates updateRequests) |
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.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.ContainerId> release,
List<String> blacklistAdditions,
List<String> blacklistRemovals,
ContainerUpdates updateRequests) |
Copyright © 2022 Apache Software Foundation. All rights reserved.