RM2操作:
yarn rmadmin -getServiceState rm2
yarn rmadmin -transitionToStandby rm2
yarn rmadmin -transitionToStandby rm2 --forcemanual
RM1操作:
yarn rmadmin -transitionToActive rm1 --forcemanual yarn rmadmin -getServiceState rm1