Adding a Role Instance

Minimum Required Role: Limited Cluster Administrator (also provided by Full Administrator and Cluster Administrator)

After creating services, you can add role instances to the services. For example, after initial installation in which you created the HDFS service, you can add a DataNode role instance to a host where one was not previously running. Upon upgrading a cluster to a new version of Cloudera Runtime you might want to create a role instance for a role added in the new version.

  1. Go to the service for which you want to add a role instance. For example, to add a DataNode role instance, go to the HDFS service.
  2. Click the Instances tab.
  3. Click the Add Role Instances button.
  4. The Assign Templates page displays. Click the drop-down list for the role you want to add and select a Host Template.
  5. Click Continue.
  6. In the Review Changes page, review the configuration changes to be applied.
    Confirm the settings entered for file system paths. The file paths required vary based on the services to be installed. For example, you might confirm the NameNode Data Directory and the DataNode Data Directory for HDFS.
  7. Click Continue.
The wizard finishes by performing any actions necessary to prepare the cluster for the new role instances. For example, new DataNodes are added to the NameNode dfs_hosts_allow.txt file. The new role instance is configured with the default role group for its role type, even if there are multiple role groups for the role type. If you want to use a different role group, follow the instructions in the topic Managing Role Groups for moving role instances to a different role group