Removing Data Processing nodes

You can remove Data Processing nodes from your BDD cluster, if necessary.

To do this, you remove one or more of the YARN NodeManager nodes running Data Processing from your Hadoop cluster, then run the bdd-admin script with the reshape-nodes command. The script queries your Hadoop cluster manager (Cloudera Manager, Ambari, or MCS) for the removed node(s) and updates BDD's configuration accordingly.

Note: The bdd-admin script requires the username and password for the Hadoop cluster manager to query it. It will prompt you for this information if the BDD_HADOOP_UI_USERNAME and BDD_HADOOP_UI_PASSWORD environment variables aren't set.

To remove a Data Processing node:

  1. Remove one or more of the YARN NodeManager nodes running Data Processing from your Hadoop cluster.
    For instructions, refer to the documentation for your Hadoop distribution.
  2. On the Admin Server, go to $BDD_HOME/BDD_manager/bin and run:
    ./bdd-admin.sh reshape-nodes
  3. Enter the username and password for your Hadoop cluster manager, if prompted.