yarn rmadmin
Runs the ResourceManager admin client.
Syntax
yarn rmadmin
[-refreshQueues]
[-refreshNodes]
[-refreshUserToGroupsMapping]
[-refreshSuperUserGroupsConfiguration]
[-refreshAdminAcls]
[-refreshServiceAcl]
[-getGroups <username>]
[-help <cmd>]
[-transitionToActive <serviceId>]
[-transitionToStandby <serviceId>]
[-getServiceState <serviceId>]
[-checkHealth <serviceId>]
Parameters
| Parameter | Description |
|---|---|
| -refreshQueues | Reloads the queues' acls, states, and scheduler specific properties. The ResourceManager reloads the mapred-queues configuration file. |
| -refreshNodes | Refreshes the host information at the ResourceManager. |
| -refreshUserToGroupsMappings | Refreshes user-to-groups mappings. |
|
-refreshSuperUserGroupsConfiguration |
Refreshes superuser proxy groups mappings. |
| -refreshAdminAcls | Refreshes acls for administration of ResourceManager. |
| -refreshServiceAcl | Reloads the service-level authorization policy file. The ResourceManager reloads the authorization policy file. |
| -getGroups <username> | Gets the groups that the user belongs to. |
| -help <cmd> | Displays help for the given parameter or all parameters if no parameter is specified. |
| -transitionToActive <serviceId> | Transitions the service into the Active state. You can use this parameter when the ResourceManager is configured to failover manually. |
| -transitionToStandby <serviceId> | Transitions the service into Standby state. You can use this parameter when the ResourceManager is configured to failover manually. |
| -getServiceState <serviceId> | Returns the service state. You can use this parameter when the ResourceManager is configured to failover manually or automatically but not with the zero configuration failover option. |
| -checkHealth <serviceId> | Requests a health check for the service. If the health check fails, the RMAdmin tool exits with a non-zero exit code. You can use this parameter when the ResourceManager is configured to failover manually or automatically but not with the zero configuration failover option. |