loading table of contents...

2. Using Host Config Groups

Ambari initially assigns all hosts in your cluster to one, default configuration group for each service you install. For example, after deploying a three-node cluster with default configuration settings, each host belongs to one configuration group that has default configuration settings for the HDFS service. In Configs, select Manage Config Groups, to create new groups, re-assign hosts, and override default settings for host components you assign to each group.

To create a Configuration Group:

  1. Choose Add New Configuration Group.

  2. Name and describe the group, then choose Save.

  3. Select a Config Group, then choose Add Hosts to Config Group.

  4. Select Components and choose from available Hosts to add hosts to the new group.

    Select Configuration Group Hosts enforces host membership in each group, based on installed components for the selected service.

  5. Choose OK.

  6. In Manage Configuration Groups, choose Save.

To edit settings for a configuration group:

  1. In Configs, choose a Group.

  2. Select a Config Group, then expand components to expose settings that allow Override.

  3. Provide a non-default value, then choose Override or Save.

    Configuration groups enforce configuration properties that allow override, based on installed components for the selected service and group.

  4. Override prompts you to choose one of the following options:

    1. Select an existing configuration group (to which the property value override provided in step 3 will apply), or

    2. Create a new configuration group (which will include default properties, plus the property override provided in step 3).

    3. Then, choose OK.

  5. In Configs, choose Save.