Class ContainerAllocationProposal<A extends SchedulerApplicationAttempt,N extends SchedulerNode>
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.ContainerAllocationProposal<A,N>
public class ContainerAllocationProposal<A extends SchedulerApplicationAttempt,N extends SchedulerNode>
extends Object
Proposal to allocate/reserve a new container
-
Constructor Summary
ConstructorsConstructorDescriptionContainerAllocationProposal(SchedulerContainer<A, N> allocatedOrReservedContainer, List<SchedulerContainer<A, N>> toRelease, SchedulerContainer<A, N> allocateFromReservedContainer, NodeType allocationLocalityType, NodeType requestLocalityType, SchedulingMode schedulingMode, org.apache.hadoop.yarn.api.records.Resource allocatedResource) -
Method Summary
-
Constructor Details
-
ContainerAllocationProposal
public ContainerAllocationProposal(SchedulerContainer<A, N> allocatedOrReservedContainer, List<SchedulerContainer<A, N>> toRelease, SchedulerContainer<A, N> allocateFromReservedContainer, NodeType allocationLocalityType, NodeType requestLocalityType, SchedulingMode schedulingMode, org.apache.hadoop.yarn.api.records.Resource allocatedResource)
-
-
Method Details
-
getSchedulingMode
-
getAllocatedOrReservedResource
public org.apache.hadoop.yarn.api.records.Resource getAllocatedOrReservedResource() -
getAllocationLocalityType
-
getAllocateFromReservedContainer
-
getAllocatedOrReservedContainer
-
getToRelease
-
toString
-
getRequestLocalityType
-