org.apache.hadoop.yarn.api.ApplicationMasterProtocolDistributedSchedulingAMProtocolPBClientImplpublic interface DistributedSchedulingAMProtocol
extends org.apache.hadoop.yarn.api.ApplicationMasterProtocol
This protocol extends the ApplicationMasterProtocol. It is used
by the DistributedScheduler running on the NodeManager to wrap
the request / response objects of the registerApplicationMaster
and allocate methods of the protocol with additional information
required to perform distributed scheduling.
| Modifier and Type | Method | Description |
|---|---|---|
DistributedSchedulingAllocateResponse |
allocateForDistributedScheduling(DistributedSchedulingAllocateRequest request) |
Extends the
allocate to wrap the response with additional
metadata. |
RegisterDistributedSchedulingAMResponse |
registerApplicationMasterForDistributedScheduling(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request) |
Extends the
registerApplicationMaster to wrap the response
with additional metadata. |
@Public @Unstable RegisterDistributedSchedulingAMResponse registerApplicationMasterForDistributedScheduling(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, java.io.IOException
Extends the registerApplicationMaster to wrap the response
with additional metadata.
request - ApplicationMaster registration requestRegisterDistributedSchedulingAMResponse that
contains a standard AM registration response along with additional
information required for distributed schedulingorg.apache.hadoop.yarn.exceptions.YarnException - YarnExceptionjava.io.IOException - IOException@Public @Unstable DistributedSchedulingAllocateResponse allocateForDistributedScheduling(DistributedSchedulingAllocateRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, java.io.IOException
Extends the allocate to wrap the response with additional
metadata.
request - ApplicationMaster allocate requestDistributedSchedulingAllocateResponse that contains
a standard AM allocate response along with additional information
required for distributed schedulingorg.apache.hadoop.yarn.exceptions.YarnException - YarnExceptionjava.io.IOException - IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.