Configuring Manual Failover for the ResourceManager
About this task
configure.sh on each node in the cluster and then edit
yarn-site.xml to disable automatic failover.configure.sh on each node in the cluster and then edit
yarn-site.xml to disable automatic failover.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]
configure.sh, each ResourceManager node
contains a different value for the yarn.resourcemanager.ha.id
property in the yarn-site.xml. yarn-site.xml on each node with the ResourceManager role:
yarn.resourcemanager.ha.automatic-failover.enabledyarn.resourcemanager.ha.automatic-failover.embedded