Enum Constant and Description |
---|
org.apache.hadoop.yarn.api.records.AMCommand.AM_RESYNC
Sent by Resource Manager when it is out of sync with the AM and
wants the AM get back in sync.
Note: Instead of sending this command,
ApplicationMasterNotRegisteredException will be thrown
when ApplicationMaster is out of sync with ResourceManager and
ApplicationMaster is expected to re-register with RM by calling
ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest) |
org.apache.hadoop.yarn.api.records.AMCommand.AM_SHUTDOWN
Sent by Resource Manager when it wants the AM to shutdown.
Note: This command was earlier sent by ResourceManager to
instruct AM to shutdown if RM had restarted. Now
ApplicationAttemptNotFoundException will be thrown in case
that RM has restarted and AM is supposed to handle this
exception by shutting down itself. |
Copyright © 2018 Apache Software Foundation. All Rights Reserved.