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