Using Central Configuration with Manual and Automatic Failover
When you configure manual or automatic failover for the ResourceManager, the contents
of the yarn-site.xml configuration file are slightly different on each
ResourceManager node as the value of the yarn.resourcemanager.ha.id
property is distinct for each ResourceManager node. If your cluster is using the central configuration feature, configure central configuration overrides for
each ResourceManager node:
Keep a central copy of the file at
/var/mapr/configuration/default/hadoop/hadoop-2.x/etc/hadoop/yarn-site.xml.
Configure central configuration overrides in the following manner:
/var/mapr/configuration/nodes/<HOSTNAME FOR RM
1>/hadoop/hadoop-2.x/etc/hadoop/yarn-site.xml/var/mapr/configuration/nodes/<HOSTNAME FOR RM
2>/hadoop/hadoop-2.x/etc/hadoop/yarn-site.xml/var/mapr/configuration/nodes/<HOSTNAME FOR RM
3>/hadoop/hadoop-2.x/etc/hadoop/yarn-site.xml