[ 
https://issues.apache.org/jira/browse/AMBARI-13898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Naga Vijayapuram resolved AMBARI-13898.
---------------------------------------
    Resolution: Not A Problem

Not an issue after [~jonathan.hurley] clarified on the format to use ...
{code}
{
  "blueprint": "orange",
  "default_password": "admin",
  "host_groups": [
    {
      "hosts": [
        {
          "fqdn": "ip-10-4-148-251.us-west-2.compute.internal"
        }
      ], 
      "name": "host_group_1"
    }, 
    {
      "hosts": [
        {
          "fqdn": "ip-10-4-148-74.us-west-2.compute.internal"
        }
      ], 
      "name": "host_group_2"
    }
  ]
}
{code}

> properties [href, items] specified in the request or predicate are not 
> supported for the resource type Cluster
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13898
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13898
>             Project: Ambari
>          Issue Type: Bug
>          Components: blueprints
>    Affects Versions: 2.1.2
>            Reporter: Naga Vijayapuram
>
> When trying to POST the host mappings file, I get this ...
> {code}
> > curl -H "X-Requested-By: ambari" -u admin:admin -X POST 
> > 10.4.148.47:8080/api/v1/blueprints/eg_snake_hdp_indigo -d @hm.json
> {
>   "status" : 400,
>   "message" : "The properties [href, items] specified in the request or 
> predicate are not supported for the resource type Blueprint."
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to