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.ApplicationMasterServiceProcessor
public 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.ApplicationMasterServiceProcessor
IOException
org.apache.hadoop.yarn.exceptions.YarnException
public 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.ApplicationMasterServiceProcessor
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.