public class PlacementConstraintProcessor extends AbstractPlacementProcessor
nextAMSProcessor, scheduler| Constructor and Description | 
|---|
| PlacementConstraintProcessor() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
        org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request,
        org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response) | 
| void | finishApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
                       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) | 
registerApplicationMasterpublic void init(org.apache.hadoop.yarn.ams.ApplicationMasterServiceContext amsContext,
                 org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessor nextProcessor)
init in interface org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessorinit in class AbstractPlacementProcessorpublic void allocate(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
                     org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request,
                     org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse response)
              throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic void finishApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
                                    org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request,
                                    org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse response)
finishApplicationMaster in interface org.apache.hadoop.yarn.ams.ApplicationMasterServiceProcessorfinishApplicationMaster in class AbstractPlacementProcessorCopyright © 2008–2023 Apache Software Foundation. All rights reserved.