Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5462

Allow host group scoped configuration to be specified in Blueprint

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:

      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.

        Attachments

          Activity

            People

            • Assignee:
              jspeidel John Speidel
              Reporter:
              jspeidel John Speidel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: