You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John Speidel (JIRA)" <ji...@apache.org> on 2014/02/21 18:53:20 UTC

[jira] [Created] (AMBARI-4786) Add ability to export a blueprint from a running cluster

John Speidel created AMBARI-4786:
------------------------------------

             Summary: Add ability to export a blueprint from a running cluster 
                 Key: AMBARI-4786
                 URL: https://issues.apache.org/jira/browse/AMBARI-4786
             Project: Ambari
          Issue Type: New Feature
            Reporter: John Speidel
            Assignee: John Speidel
             Fix For: 1.5.0


Export a blueprint for a running cluster using an alternate rendering for the cluster resource.

api/v1/clusters/c1?format=blueprint

For this change, the blueprint will be very minimal and will only contain node groups and no configuration.  Subsequent patches will introduce configuration and other cluster data.

{code}
{
  "host_groups" : [
    {
      "name" : "host_group_1",
      "components" : [
        {
          "name" : "HISTORYSERVER"
        },
        {
          "name" : "OOZIE_CLIENT"
        },
        {
          "name" : "JOBTRACKER"
        },
        {
          "name" : "NAMENODE"
        },
        {
          "name" : "OOZIE_SERVER"
        },
        {
          "name" : "TASKTRACKER"
        },
        {
          "name" : "NAGIOS_SERVER"
        },
        {
          "name" : "SECONDARY_NAMENODE"
        },
        {
          "name" : "MAPREDUCE_CLIENT"
        },
        {
          "name" : "AMBARI_SERVER"
        },
        {
          "name" : "GANGLIA_SERVER"
        },
        {
          "name" : "HDFS_CLIENT"
        },
        {
          "name" : "DATANODE"
        },
        {
          "name" : "GANGLIA_MONITOR"
        }
      ],
      "cardinality" : "1"
    }
  ],
  "Blueprints" : {
    "blueprint_name" : "blueprint-c1",
    "stack_name" : "HDP",
    "stack_version" : "1.3.3"
  }
}
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)