Managing and Monitoring a Cluster
Also available as:
PDF
loading table of contents...

Bulk add or delete hosts

Use the Hosts > Actions > Delete Hosts option to delete multiple hosts in your cluster.

Decommission and stop all components on the target hosts. There are guardrails in place to prevent the accidental deletion of hosts containing singleton master instances. To delete such hosts, first move all the masters to a different host.
Use the Actions UI control to act on hosts in your cluster. Actions that you perform that comprise more than one operation, possibly on multiple hosts, are also known as bulk operations. After you request that Ambari perform a bulk operation, Ambari validates whether or not it can successfully perform the action . There are two possible scenarios where the operation cannot be performed:
  • The state of the component makes it impossible to perform the operation. For example, asking to delete service components not in the stopped state. Expand each host to see the details on why the operation cannot be performed.

  • Number of components remaining after the operation completes is less than the minimum number of components required by the stack. For example, asking to delete all the nodemanagers, where the minimum number of nodemanagers required by the service is 1.

  1. In the Hosts page, select or search for multiple hosts.
  2. Using the Actions control, click Selected Hosts > Hosts > Delete Hosts.

  3. Click OK to confirm the bulk operation.
Optionally, monitor background operations to follow, diagnose, or troubleshoot the bulk operation.