ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandor Magyari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12989) Blueprint: API call to create cluster instance with blueprint fails when blueprint_name is not correct
Date Fri, 04 Sep 2015 15:44:46 GMT

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

Sandor Magyari updated AMBARI-12989:
------------------------------------
    Attachment: BUG_12989.patch

> Blueprint: API call to create cluster instance with blueprint fails when blueprint_name
is not correct
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-12989
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12989
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.6.0
>            Reporter: Sandor Magyari
>            Priority: Minor
>         Attachments: BUG_12989.patch
>
>
> When creating any resource like blueprint, cluster etc, you can specify the resource
name both in the Url and Json payload as well. For example in case of a blueprint creation:
api/v1/blueprints/sandboxURL  Json: {"Blueprints":{"blueprint_name":"sandboxJson"}}. In this
case the blueprint will be created as sandboxJson so the name specified in Json will override
the name specifie din the Url. The behavoir is true for cluster creation and any other resource
where you can specify name in Json as well. This could be a bit misleading so the API may
return an error in case of resource names don't match.



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

Mime
View raw message