Decommission NodeManagers
Edit the configuration files on the ResourceManager host machine and add the details of the new set of NodeManagers.
Edit the configuration files on the ResourceManager host machine and add the details of the new set of NodeManagers.
<HADOOP_CONF_DIR>/yarn.exclude
file and add the list of
NodeManager hostnames (separated by a newline character).
where <HADOOP_CONF_DIR>
is the directory for storing the
Hadoop configuration files. For example, /etc/hadoop/conf
.
yarn.include
file, remove
the decommissioned nodes from the <HADOOP_CONF_DIR>/yarn.include
file on the ResourceManager host machine.
Note | |
---|---|
If no |
su <YARN_USER> yarn rmadmin -refreshNodes
where <YARN_USER>
is the user who owns the YARN services,
for example, yarn
.