[ 
https://issues.apache.org/jira/browse/AMBARI-15397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193271#comment-15193271
 ] 

Hadoop QA commented on AMBARI-15397:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12793264/AMBARI-15397.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in 
ambari-server:

                  
org.apache.ambari.server.controller.internal.ArtifactResourceProviderTest

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/5850//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/5850//console

This message is automatically generated.

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

Reply via email to