Modifying a Cluster

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:

  1. Open the aws.conf file that you used to launch the cluster.
  2. 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
            }
          }
  3. Enter the following command:
    cloudera-director update aws.conf
    Cloudera Director increases the number of worker instances.
  4. Assign roles to the new master instances through Cloudera Manager. Cloudera Director does not automatically assign roles.