public abstract class AbstractPlacementProcessor extends Object implements org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessor
| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessor | nextAMSProcessor | 
| protected AbstractYarnScheduler | scheduler | 
| Constructor and Description | 
|---|
| AbstractPlacementProcessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | finishApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
                       org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request,
                       org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse response) | 
| void | init(org.apache.hadoop.yarn.ams.ApplicationMasterServiceContext amsContext,
    org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessor nextProcessor) | 
| void | registerApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
                         org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request,
                         org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse response) | 
protected org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessor nextAMSProcessor
protected AbstractYarnScheduler scheduler
public void init(org.apache.hadoop.yarn.ams.ApplicationMasterServiceContext amsContext,
                 org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessor nextProcessor)
init in interface org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessorpublic void registerApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
                                      org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterRequest request,
                                      org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse response)
                               throws IOException,
                                      org.apache.hadoop.yarn.exceptions.YarnException
registerApplicationMaster in interface org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessorIOExceptionorg.apache.hadoop.yarn.exceptions.YarnExceptionpublic void finishApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
                                    org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request,
                                    org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse response)
finishApplicationMaster in interface org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessorCopyright © 2008–2023 Apache Software Foundation. All rights reserved.