[ 
https://issues.apache.org/jira/browse/AMBARI-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408988#comment-15408988
 ] 

YeongWei commented on AMBARI-4786:
----------------------------------

Hi [~jspeidel],

I can see that the output consist of 

"name" : "AMBARI_SERVER"

Is there a special meaning to that? I wonder if it was because we exported the 
blueprint via a HTTP URL fired to the Ambari Server Host?

Thanks!


> 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.3.4#6332)

Reply via email to