7. Deleting a Host from a Cluster
Deleting a host removes the host from the cluster. Before deleting a host, you must complete the following prerequisites:
Stop all components running on the host.
Decommission any DataNodes running on the host.
Move from the host any master components, such as NameNode or ResourceManager, running on the host.
Turn Off Maintenance Mode, if necessary, for the host.