DistributedSchedulingAllocateResponsePBImpl@Public
@Unstable
public abstract class DistributedSchedulingAllocateResponse
extends java.lang.Object
DistributedSchedulingAllocateRequest, when distributed scheduling is
enabled. It includes the AllocateResponse for the GUARANTEED
containers allocated by the Resource Manager. Moreover, it includes a list
with the nodes that can be used by the Distributed Scheduler when allocating
containers.| Constructor | Description |
|---|---|
DistributedSchedulingAllocateResponse() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse |
getAllocateResponse() |
|
abstract java.util.List<RemoteNode> |
getNodesForScheduling() |
|
static DistributedSchedulingAllocateResponse |
newInstance(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allResp) |
|
abstract void |
setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) |
|
abstract void |
setNodesForScheduling(java.util.List<RemoteNode> nodesForScheduling) |
public DistributedSchedulingAllocateResponse()
@Public @Unstable public static DistributedSchedulingAllocateResponse newInstance(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allResp)
@Public @Unstable public abstract void setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response)
@Public @Unstable public abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse getAllocateResponse()
@Public @Unstable public abstract void setNodesForScheduling(java.util.List<RemoteNode> nodesForScheduling)
@Public @Unstable public abstract java.util.List<RemoteNode> getNodesForScheduling()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.