Configuring Manual Failover for the ResourceManager
About this task
Procedure
-
Specify multiple ResourceManagers when you run configure.sh on each cluster and
client node. The following the configure.sh script syntax configures three
ResourceManager nodes (one active and two standby):
/opt/mapr/server/configure.sh -C <CLDB node list> -Z <ZK node list> -RM <hostname1,hostname2,hostname3> -HS <hostname1> [additional parameters]
NOTE: After you run configure.sh, each ResourceManager node contains a different value for theyarn.resourcemanager.ha.id
property in the yarn-site.xml. -
Disable the following automatic failover properties in the yarn-site.xml on each
node with the ResourceManager role:
- yarn.resourcemanager.ha.automatic-failover.enabled
- yarn.resourcemanager.ha.automatic-failover.embedded
- Restart the ResourceManager service. For more information, see Starting, Stopping, and Restarting Services.