You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/08/25 17:28:00 UTC

[jira] [Commented] (AMBARI-21777) Remove Ambiguous Repository Version When Creating Clusters via Blueprints

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

Hudson commented on AMBARI-21777:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #66 (See [https://builds.apache.org/job/Ambari-branch-2.6/66/])
AMBARI-21777 Remove Ambiguous Repository Version When Creating Clusters (hapylestat: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3946ff677401e0324f8f632aac412b90ad662d82])
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterInstallWithoutStartOnComponentLevelTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/TopologyManager.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterInstallWithoutStartTest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/TopologyManagerTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/ClusterDeployWithStartOnlyTest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/topology/AmbariContextTest.java


> Remove Ambiguous Repository Version When Creating Clusters via Blueprints
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-21777
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21777
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.6.0
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-21777-2.6.patch, AMBARI-21777.patch
>
>
> When creating a new cluster via a blueprint, we currently use a combination of stack and version:
> {code}
> {
>   "blueprint" : "foo",
>   "repository_version": "2.5.0.0-1237",
>   "host_groups" :[
>     {
>       "name" : "host_group_1", 
>       "hosts" : [         
>         {
>           "fqdn" : "c6401.ambari.apache.org"
>         },
>         {
>           "fqdn" : "c6402.ambari.apache.org"
>         },
>         {
>           "fqdn" : "c6403.ambari.apache.org"
>         }
>       ]
>     }
>  ]
> }
> {code}
> We lookup the repository using a query by stack/version. We could instead also take a repo ID which removes any ambiguity.
> Something like:
> {code}
> {
>   "blueprint" : "foo",
>   "repository_id": 1,
>   "host_groups" :[
>     {
>       "name" : "host_group_1", 
>       "hosts" : [         
>         {
>           "fqdn" : "c6401.ambari.apache.org"
>         },
>         {
>           "fqdn" : "c6402.ambari.apache.org"
>         },
>         {
>           "fqdn" : "c6403.ambari.apache.org"
>         }
>       ]
>     }
>  ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)