Using the yarn rmadmin tool to administer ResourceManager high availability
You can use yarn rmadmin in the command line to manage your ResourceManager HA deployment.
yarn rmadmin has the following options related to ResourceManager high availability:
[-transitionToActive serviceId] [-transitionToStandby serviceId] [-getServiceState serviceId] [-checkHealth <serviceId] [-help <command>]
when serviceID is