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

Jonathan Hurley updated AMBARI-20991:
-------------------------------------
    Status: Patch Available  (was: Open)

> Cluster Repository State Is Not Calculated Correctly For Service/Patch Repos
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-20991
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20991
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: trunk
>
>         Attachments: AMBARI-20991.patch
>
>
> The cluster version state is not taking into account the correct values for 
> {{SERVICE}} and {{PATCH}} upgrades. When at least host is {{NOT_REQUIRED}}, 
> the aggregate value is marked as {{INSTALLING}}. 
> {code}
>     {
>       "href": "http://localhost:8080/api/v1/clusters/c1/stack_versions/2";,
>       "ClusterStackVersions": {
>         "cluster_name": "c1",
>         "id": 2,
>         "repository_version": 2,
>         "stack": "HDP",
>         "state": "INSTALLING",
>         "version": "2.5",
>         "host_states": {
>           "CURRENT": [],
>           "INIT": [],
>           "INSTALLED": [
>             "c6401.ambari.apache.org"
>           ],
>           "INSTALLING": [],
>           "INSTALL_FAILED": [],
>           "NOT_REQUIRED": [
>             "c6402.ambari.apache.org",
>             "c6403.ambari.apache.org"
>           ],
>           "OUT_OF_SYNC": []
>         }
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to