| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.scheduler |
Utility classes used for Scheduling.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.yarn.api.records.Container |
OpportunisticContainerAllocator.createContainer(long rmIdentifier,
OpportunisticContainerAllocator.AllocationParams appParams,
OpportunisticContainerAllocator.ContainerIdGenerator idCounter,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId id,
java.lang.String userName,
java.util.Map<org.apache.hadoop.yarn.api.records.Resource,java.util.List<OpportunisticContainerAllocator.Allocation>> allocations,
java.lang.String location,
org.apache.hadoop.yarn.api.records.ResourceRequest anyAsk,
RemoteNode rNode) |
|
protected int |
OpportunisticContainerAllocator.getTotalAllocations(java.util.List<java.util.Map<org.apache.hadoop.yarn.api.records.Resource,java.util.List<OpportunisticContainerAllocator.Allocation>>> allocations) |
|
protected void |
OpportunisticContainerAllocator.matchAllocation(java.util.List<java.util.Map<org.apache.hadoop.yarn.api.records.Resource,java.util.List<OpportunisticContainerAllocator.Allocation>>> allocations,
java.util.List<org.apache.hadoop.yarn.api.records.Container> allocatedContainers,
OpportunisticContainerContext oppContext) |
|
void |
OpportunisticContainerContext.matchAllocationToOutstandingRequest(org.apache.hadoop.yarn.api.records.Resource capability,
java.util.List<OpportunisticContainerAllocator.Allocation> allocations) |
This method matches a returned list of Container Allocations to any
outstanding OPPORTUNISTIC ResourceRequest.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.