ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15397) Rolling Upgrade: incorrect display_status of upgrade groups
Date Mon, 14 Mar 2016 18:49:33 GMT

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

Dmytro Sen updated AMBARI-15397:
--------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk and branch-2.2

> 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)

Mime
View raw message