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

Hadoop QA commented on AMBARI-8549:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12685357/AMBARI-8549.2.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:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

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

This message is automatically generated.

> Rolling Upgrade: ClusterStackVersion should display only one repository 
> version
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-8549
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8549
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8549.2.patch, AMBARI-8549.patch
>
>
> for now cluster stack version resource contains all created repository 
> versions:
> {code}
> "href": 
> "http://h1:8080/api/v1/clusters/1/stack_versions?fields=repository_versions/*";,
>     "items": [
>         {
>             "href": "http://h1:8080/api/v1/clusters/1/stack_versions/1";,
>             "ClusterStackVersions": {
>                 "cluster_name": "1",
>                 "id": 1,
>                 "stack": "HDP",
>                 "version": "2.2"
>             },
>             "repository_versions": [
>                 {
>                     "href": 
> "http://h1:8080/api/v1/clusters/1/stack_versions/1/repository_versions/1";,
>                     "RepositoryVersions": {
>                         "display_name": "HDP 2.2.0",
>                         "id": 1,
>                         "repository_version": "2.2.0.1-885",
>                         "stack_name": "HDP",
>                         "stack_version": "2.2",
>                         "upgrade_pack": "upgrade-2.2"
>                     }
>                  },
>                 {
>                     "href": 
> "http://h1:8080/api/v1/clusters/1/stack_versions/1/repository_versions/2";,
>                     "RepositoryVersions": {
>                         "display_name": "HDP 2.2.1",
>                         "id": 2,
>                         "repository_version": "2.2.1.1-885",
>                         "stack_name": "HDP",
>                         "stack_version": "2.2",
>                         "upgrade_pack": "upgrade-2.2"
>                     }
>                 }
>             ]
>         }
>     ]
> }
> {code}
> but each cluster stack version sould contain only 1 repository version:
> {code}
> "href": 
> "http://h1:8080/api/v1/clusters/1/stack_versions?fields=repository_versions/*";
>     "items": [
>         {
>             "href": "http://h1:8080/api/v1/clusters/1/stack_versions/1";,
>             "ClusterStackVersions": {
>                 "cluster_name": "1",
>                 "id": 1,
>                 "stack": "HDP",
>                 "version": "2.2"
>             },
>             "repository_versions": [
>                 {
>                     "href": 
> "http://h1:8080/api/v1/clusters/1/stack_versions/1/repository_versions/1";,
>                     "RepositoryVersions": {
>                         "display_name": "HDP 2.2.0",
>                         "id": 1,
>                         "repository_version": "2.2.0.1-885",
>                         "stack_name": "HDP",
>                         "stack_version": "2.2",
>                         "upgrade_pack": "upgrade-2.2"
>                     }
>                  }
>             ]
>         }
>         {
>             "href": "http://h1:8080/api/v1/clusters/1/stack_versions/2";,
>             "ClusterStackVersions": {
>                 "cluster_name": "1",
>                 "id": 2,
>                 "stack": "HDP",
>                 "version": "2.2"
>             },
>             "repository_versions": [
>                 {
>                     "href": 
> "http://h1:8080/api/v1/clusters/1/stack_versions/1/repository_versions/2";,
>                     "RepositoryVersions": {
>                         "display_name": "HDP 2.2.1",
>                         "id": 2,
>                         "repository_version": "2.2.1.1-885",
>                         "stack_name": "HDP",
>                         "stack_version": "2.2",
>                         "upgrade_pack": "upgrade-2.2"
>                     }
>                 }
>             ]
>         }
>     ]
> }
> {code}



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

Reply via email to