Administering Ambari
Also available as:
PDF
loading table of contents...

Enable manage.include.files for Yarn

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.
  1. Using Ambari Web, browse to Services > YARN.
  2. In the Advanced yarn-site configuration section, add the manage.include.files=true property.
  3. 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
  4. 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.