This is the documentation for Cloudera Manager 4.8.2.
Documentation for other versions is available at Cloudera Documentation.

Specifying the Racks for Hosts

Cloudera Manager includes internal rack awareness scripts, but you must specify the racks where the hosts in your cluster are located. If your cluster contains more than 10 hosts, Cloudera recommends that you specify the rack for each host. HDFS and MapReduce will automatically use the racks you specify.

  Note:

Cloudera Manager supports nested rack specifications. For example, you could specify the rack /rack1, but you could also specify /group5/rack3 to indicate the third rack in the fifth group.

Currently, due to a Hadoop limitation, all hosts in a cluster should have the same number of path components in their rack specifications.

To specify the racks for hosts:

  1. Click the Hosts tab.
  2. Select the host(s) for a particular rack, such as all hosts for /rack123. Use shift-click to select multiple hosts at a time.
  3. Click Assign Rack.
  4. Enter a rack name or ID that starts with a slash /, such as /rack123 or /aisle1/rack123, and then click Set Rack.

After assigning racks, consider restarting affected services as described in Starting, Stopping, and Restarting Services. Rack assignments are not automatically updated for running services.