[
https://issues.apache.org/jira/browse/AMBARI-15397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194127#comment-15194127
]
Hudson commented on AMBARI-15397:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.2 #508 (See
[https://builds.apache.org/job/Ambari-branch-2.2/508/])
AMBARI-15397 Rolling Upgrade: incorrect display_status of upgrade groups (dsen:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7757499c05768c533601e8199114c276912ebe3f])
*
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/CalculatedStatus.java
*
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/CalculatedStatusTest.java
> Rolling Upgrade: incorrect display_status of upgrade groups
> -----------------------------------------------------------
>
> Key: AMBARI-15397
> URL: https://issues.apache.org/jira/browse/AMBARI-15397
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.2
> Reporter: Dmytro Grinenko
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-15397.patch
>
>
> Upgrade display_status does not correspond to status of its upgrade items.
> Upgrade group must have display_status IN_PROGRESS instead of COMPLETE:
> {code:java}
> {
> "UpgradeGroup" : {
> "completed_task_count" : 1,
> "display_status" : "COMPLETED",
> "group_id" : 53,
> "in_progress_task_count" : 2,
> "name" : "ZOOKEEPER",
> "progress_percent" : 45.0,
> "request_id" : 24,
> "status" : "IN_PROGRESS",
> "title" : "ZooKeeper",
> "total_task_count" : 3
> },
> "upgrade_items" : [
> {
> "UpgradeItem" : {
> "context" : "Restarting ZooKeeper Server on
> c6401.ambari.apache.org (Batch 1 of 3)",
> "display_status" : "COMPLETED",
> "group_id" : 53,
> "progress_percent" : 100.0,
> "request_id" : 24,
> "skippable" : true,
> "stage_id" : 20,
> "status" : "COMPLETED",
> "text" : "Restarting ZooKeeper Server on c6401.ambari.apache.org
> (Batch 1 of 3)"
> }
> },
> {
> "UpgradeItem" : {
> "context" : "Restarting ZooKeeper Server on
> c6402.ambari.apache.org (Batch 2 of 3)",
> "display_status" : "IN_PROGRESS",
> "group_id" : 53,
> "progress_percent" : 35.0,
> "request_id" : 24,
> "skippable" : true,
> "stage_id" : 21,
> "status" : "IN_PROGRESS",
> "text" : "Restarting ZooKeeper Server on c6402.ambari.apache.org
> (Batch 2 of 3)"
> }
> },
> {
> "UpgradeItem" : {
> "context" : "Restarting ZooKeeper Server on
> c6403.ambari.apache.org (Batch 3 of 3)",
> "display_status" : "PENDING",
> "group_id" : 53,
> "progress_percent" : 0.0,
> "request_id" : 24,
> "skippable" : true,
> "stage_id" : 22,
> "status" : "PENDING",
> "text" : "Restarting ZooKeeper Server on c6403.ambari.apache.org
> (Batch 3 of 3)"
> }
> }
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)