Using Ambari Web, enable automated host participation by adding
manage.include.files properties to the YARN configuation.
When configured and enabled, Ambari manages files that
include and exclude hosts participating in cluster operations. Ambari also updates these
files based on the state of hosts as displayed in Ambari Web. Add the
manage.include.files=true and
yarn.resourcemanager.nodes.include-path to the YARN configuration
to enable automated host file participation for the YARN service.
-
Using Ambari Web, browse to .
-
In the Advanced yarn-site configuration section, add the
manage.include.files=true property.
-
In the Custom yarn-site configuration section, ensure that
the yarn.resourcemanager.nodes.include-pathproperty appears and
that it is set to a valid location of the YARN Resource Manager on the filesystem
.
yarn.resourcemanager.nodes.include-path=/etc/hadoop/conf/yarn.include
-
Restart services, as prompted by Ambari.
When manage.include.files is configured
and enabled, Ambari manages files that include and exclude hosts participating in cluster
operations.