ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naga Vijayapuram (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-13898) properties [href, items] specified in the request or predicate are not supported for the resource type Cluster
Date Wed, 18 Nov 2015 16:17:10 GMT

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

Naga Vijayapuram commented on AMBARI-13898:
-------------------------------------------

This is the json file derived from the source cluster ...

{code}
{
  "href" : "http://10.4.148.160:8080/api/v1/clusters/indigo/hosts",
  "items" : [
    {
      "href" : "http://10.4.148.160:8080/api/v1/clusters/indigo/hosts/ip-10-4-148-160.us-west-2.compute.internal",
      "Hosts" : {
        "cluster_name" : "indigo",
        "host_name" : "ip-10-4-148-160.us-west-2.compute.internal"
      }
    },
    {
      "href" : "http://10.4.148.160:8080/api/v1/clusters/indigo/hosts/ip-10-4-148-49.us-west-2.compute.internal",
      "Hosts" : {
        "cluster_name" : "indigo",
        "host_name" : "ip-10-4-148-49.us-west-2.compute.internal"
      }
    }
  ]
}
{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)

Mime
View raw message