| 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,
              ApplicationMasterNotRegisteredExceptionwill be thrown
             when ApplicationMaster is out of sync with ResourceManager and
             ApplicationMaster is expected to re-register with RM by callingApplicationMasterProtocol.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
              ApplicationAttemptNotFoundExceptionwill be thrown in case
             that RM has restarted and AM is supposed to handle this
             exception by shutting down itself. | 
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.