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

Jonathan Hurley updated AMBARI-18708:
-------------------------------------
    Description: 
When creating a repository for a cluster, allow the API to set directly to 
INSTALLED.  This is the case where bits are known to be preinstalled.

This API call will set direct values for {{cluster_version}} and 
{{host_version}}.

For example:
POST api/v1/clusters/<clusterName>/stack_versions
{code}
{
  "ClusterStackVersions": {
    "stack": "HDP",
    "version": "2.5",
    "repository_version": "2.5.2.0-67",
    "force" : true
  }
}
{code}

  was:
When creating a repository for a cluster, allow the API to set directly to 
INSTALLED.  This is the case where bits are known to be preinstalled.

This API call will set direct values for {{cluster_version}} and 
{{host_version}}.


> Add a cluster version directly as INSTALLED
> -------------------------------------------
>
>                 Key: AMBARI-18708
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18708
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Nate Cole
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18708.patch
>
>
> When creating a repository for a cluster, allow the API to set directly to 
> INSTALLED.  This is the case where bits are known to be preinstalled.
> This API call will set direct values for {{cluster_version}} and 
> {{host_version}}.
> For example:
> POST api/v1/clusters/<clusterName>/stack_versions
> {code}
> {
>   "ClusterStackVersions": {
>     "stack": "HDP",
>     "version": "2.5",
>     "repository_version": "2.5.2.0-67",
>     "force" : true
>   }
> }
> {code}



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

Reply via email to