You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Grinenko (JIRA)" <ji...@apache.org> on 2016/03/14 09:16:33 UTC
[jira] [Updated] (AMBARI-15397) Rolling Upgrade: incorrect
display_status of upgrade groups
[ https://issues.apache.org/jira/browse/AMBARI-15397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmytro Grinenko updated AMBARI-15397:
-------------------------------------
Attachment: AMBARI-15397.patch
> 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
> 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)