Class DistributedSchedulingAllocateResponse
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.DistributedSchedulingAllocateResponse
- Direct Known Subclasses:
DistributedSchedulingAllocateResponsePBImpl
This is the response of the Resource Manager to the
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.hadoop.yarn.api.protocolrecords.AllocateResponseabstract List<RemoteNode>newInstance(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allResp) abstract voidsetAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) abstract voidsetNodesForScheduling(List<RemoteNode> nodesForScheduling)
-
Constructor Details
-
DistributedSchedulingAllocateResponse
public DistributedSchedulingAllocateResponse()
-
-
Method Details
-
newInstance
@Public @Unstable public static DistributedSchedulingAllocateResponse newInstance(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allResp) -
setAllocateResponse
@Public @Unstable public abstract void setAllocateResponse(org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) -
getAllocateResponse
@Public @Unstable public abstract org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse getAllocateResponse() -
setNodesForScheduling
-
getNodesForScheduling
-