[
https://issues.apache.org/jira/browse/AMBARI-20991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032032#comment-16032032
]
Hudson commented on AMBARI-20991:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7555 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/7555/])
AMBARI-20991 - Cluster Repository State Is Not Calculated Correctly For
(jhurley:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b8cb5d4863c73a1cd76a4b47fe792e650c2f67a2])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
> 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)