Modifying a Cluster with Cloudera Director Client
This section describes how to make changes to the cluster through Cloudera Director, using the client and the configuration file.
Growing or Shrinking a Cluster
After launching a cluster, you can add or remove instances:
- Open the cluster.conf file that you used to launch the cluster.
- Change the value for the type of instance you want to change. For example, the following increases the number of workers to 15:
workers { count: 15 minCount: 5 instance: ${instances.hs18} { tags { group: worker } }
- Enter the following command:
cloudera-director update cluster.conf
Cloudera Director increases the number of worker instances. - Assign roles to the new master instances through Cloudera Manager. Cloudera Director does not automatically assign roles.