Using Central Configuration with Manual and Automatic Failover
About this task
yarn-site.xml
configuration file are slightly different on each
ResourceManager node because 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:Procedure
- 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