You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/09/03 15:15:45 UTC

[jira] [Commented] (AMBARI-12989) Blueprint: API call to create cluster instance with blueprint fails when blueprint_name is not correct

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

Hadoop QA commented on AMBARI-12989:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12753949/BUG_12989.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.api.services.AmbariMetaInfoTest
                  org.apache.ambari.server.metadata.AgentAlertDefinitionsTest

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3713//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3713//console

This message is automatically generated.

> 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)