Class DistributedSchedulingAllocateResponse

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.DistributedSchedulingAllocateResponse
Direct Known Subclasses:
DistributedSchedulingAllocateResponsePBImpl

@Public @Unstable public abstract class DistributedSchedulingAllocateResponse extends Object
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 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

      @Public @Unstable public abstract void setNodesForScheduling(List<RemoteNode> nodesForScheduling)
    • getNodesForScheduling

      @Public @Unstable public abstract List<RemoteNode> getNodesForScheduling()