Deleting Hosts

Minimum Required Role: Full Administrator

There are two ways to remove a host from a cluster:
  • Stop Cloudera Manager from managing a host entirely, and the Hadoop daemons on the host.
  • Remove a host from a cluster, but leave it available to be added to a different cluster managed by Cloudera Manager.

Delete a Host From Being Managed by Cloudera Manager

  1. In the Cloudera Manager Admin Console, click the Hosts tab.
  2. Select the hosts to delete.
  3. Select Actions for Selected > Decommission to ensure that all roles on the host have been stopped. For further details, see Decommissioning and Recommissioning Hosts.
  4. Stop the Agent on the host. For instructions, see Starting, 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. Select Actions for Selected > Delete.

Removing a Host From a Cluster But Leave It Available To Cloudera Manager

You can 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. In the Cloudera Manager Admin Console, click the Hosts tab.
  2. Select the hosts to delete.
  3. Select Actions for Selected > Remove From Cluster.
  4. In the pop-up that appears, make your 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.