@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class DistributedSchedulingAllocateResponse extends 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 and Description |
---|
DistributedSchedulingAllocateResponse() |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse |
getAllocateResponse() |
abstract 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(List<RemoteNode> nodesForScheduling) |
public DistributedSchedulingAllocateResponse()
@InterfaceAudience.Public @InterfaceStability.Unstable public static DistributedSchedulingAllocateResponse newInstance(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allResp)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse getAllocateResponse()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setNodesForScheduling(List<RemoteNode> nodesForScheduling)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<RemoteNode> getNodesForScheduling()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.