public 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 and 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. |
@InterfaceAudience.Public @InterfaceStability.Unstable RegisterDistributedSchedulingAMResponse registerApplicationMasterForDistributedScheduling(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, 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
- YarnExceptionIOException
- IOException@InterfaceAudience.Public @InterfaceStability.Unstable DistributedSchedulingAllocateResponse allocateForDistributedScheduling(DistributedSchedulingAllocateRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, 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
- YarnExceptionIOException
- IOExceptionCopyright © 2008–2018 Apache Software Foundation. All rights reserved.