Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Allow configuration to be specified for host groups. This configuration will provide overrides for all hosts assigned to the host group. This configuration is specified inline within the host group.
An example of a simple one host group blueprint with both cluster scoped and host group scoped configuration.
{ "configurations" : [ { "core-site" : { "fs.trash.interval" : "480", "ipc.client.idlethreshold" : "8500", "my.awesome.property" : "excellent" } }, { "mapred-site" : { "tasktracker.http.threads" : "45" } } ], "host_groups" : [ { "name" : "host_group_1", "configurations" : [ { "core-site" : { "fs.trash.interval" : "475" } } ], "components" : [ { "name" : "HDFS_CLIENT" }, { "name" : "GANGLIA_SERVER" }, { "name" : "AMBARI_SERVER" }, { "name" : "MAPREDUCE_CLIENT" }, { "name" : "GANGLIA_MONITOR" }, { "name" : "DATANODE" }, { "name" : "NAMENODE" }, { "name" : "JOBTRACKER" }, { "name" : "HISTORYSERVER" }, { "name" : "SECONDARY_NAMENODE" }, { "name" : "NAGIOS_SERVER" }, { "name" : "TASKTRACKER" } ], "cardinality" : "1" } ], "Blueprints" : { "blueprint_name" : "single-node-test", "stack_name" : "HDP", "stack_version" : "1.3.3" } }
Note: Allowing service configurations which are specified external to the host group definition to allow for configuration reuse across host groups will be handled in a subsequent Jira.