This is the documentation for Cloudera Manager 4.8.3.
Documentation for other versions is available at Cloudera Documentation.

Deleting Hosts

There are two ways to remove a host from a cluster:

  • You can remove a host from a cluster, but leave it available to be added to a different cluster managed by Cloudera Manager.
  • You can stop Cloudera Manager from managing a host entirely, and the Hadoop daemons on the host.

First, make sure there are no roles running on the Host; you can decommission the host to ensure all roles are stopped.

To remove a host from a cluster but leave it available to Cloudera Manager, you must remove all CDH roles from the host. If the host has Cloudera Manager management roles (such as the Events Server, Activity Monitor and so on), those roles can remain.

To remove a host from Cloudera Manager management entirely, you must stop the Cloudera Manager Agent from running on the host; if you don't stop the Agent, it will send heartbeats to the Cloudera Manager Server and show up again in the list of hosts.

To delete a host from being managed by Cloudera Manager:

First, make sure there are no roles running on the Host; you can decommission the host to ensure all roles are stopped.

Second, you must stop the Cloudera Manager Agent from running on the host; if you don't stop the Agent, it will send heartbeats to the Cloudera Manager Server and show up again in the list of hosts.

  1. In the Cloudera Manager Admin Console, click the Hosts tab.
  2. Select the host you want to delete.
  3. From the Actions for Selected menu, select Decommission to ensure that all roles on the host have been stopped. For further details, see Decommissioning a Host.
  4. Stop the Agent on the host. For instructions, see Stopping and Restarting Cloudera Manager Agents.
  5. In the Cloudera Manager Admin Console, click the Hosts tab and select the host you want to delete.
  6. From the Actions for Selected menu, select Delete.

To remove a host from a cluster but leave it available to Cloudera Manager:

It is now possible to remove a host from a cluster, but leaving it managed by Cloudera manager so it can be added a different cluster being managed by the same Cloudera Manager server. This command stops all running roles and deletes, them and then removes the host from the cluster. It preserves the role data directories. You can choose to have Cloudera Manager management roles (such as the Events Server, Activity Monitor and so on), remain. The Cloudera Manager Agent should continue to run on the host.

  1. From the Hosts tab, select the host(s) you want to delete.
  2. From the Actions for Selected menu, select Remove From Cluster.
  3. In the pop-up that appears, make you selections for decommissioning role (default is to do this) and whether to skip removing the management service roles (default is to leave them). Click Confirm to proceed with removing the selected hosts.