ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Grinenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21777) Remove Ambiguous Repository Version When Creating Clusters via Blueprints
Date Fri, 25 Aug 2017 16:49:01 GMT

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

Dmytro Grinenko updated AMBARI-21777:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

To https://git-wip-us.apache.org/repos/asf/ambari.git
   6588679df0..3946ff6774  branch-2.6 -> branch-2.6
   eb9cce7e01..698293d2d7  trunk -> trunk

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

Mime
View raw message