@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class DistributedSchedulingAllocateRequest extends Object
AllocateRequest for GUARANTEED containers to
the Resource Manager, and to notify the Resource Manager about the allocation
of OPPORTUNISTIC containers through the Distributed Scheduler.| Constructor and Description |
|---|
DistributedSchedulingAllocateRequest() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<org.apache.hadoop.yarn.api.records.Container> |
getAllocatedContainers()
Get the list of newly allocated
Container by the
Distributed Scheduling component on the NodeManager. |
abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest |
getAllocateRequest()
Get the underlying
AllocateRequest object. |
abstract void |
setAllocatedContainers(List<org.apache.hadoop.yarn.api.records.Container> containers)
Set the list of newly allocated
Container by the
Distributed Scheduling component on the NodeManager. |
abstract void |
setAllocateRequest(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest allocateRequest)
Set the underlying
AllocateRequest object. |
public DistributedSchedulingAllocateRequest()
@InterfaceAudience.Public @InterfaceStability.Evolving public abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest getAllocateRequest()
AllocateRequest object.@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setAllocateRequest(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest allocateRequest)
AllocateRequest object.allocateRequest - Allocate request@InterfaceAudience.Public @InterfaceStability.Evolving public abstract List<org.apache.hadoop.yarn.api.records.Container> getAllocatedContainers()
Container by the
Distributed Scheduling component on the NodeManager.Container@InterfaceAudience.Public @InterfaceStability.Evolving public abstract void setAllocatedContainers(List<org.apache.hadoop.yarn.api.records.Container> containers)
Container by the
Distributed Scheduling component on the NodeManager.containers - list of newly allocated ContainerCopyright © 2008–2023 Apache Software Foundation. All rights reserved.