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

Hadoop QA commented on AMBARI-19053:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12841351/AMBARI-19053.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.state.cluster.AlertDataManagerTest
                  org.apache.ambari.server.state.ServicePropertiesTest

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

This message is automatically generated.

> RU: wrong version exposed when Downgrade is going
> -------------------------------------------------
>
>                 Key: AMBARI-19053
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19053
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>            Reporter: Nate Cole
>            Assignee: Nate Cole
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-19053.patch
>
>
> Currently on downgrade server returns from and to version same:
> {code:java}
> {
>   "href" : 
> "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/7?fields=Upgrade/*&_=1479742056069";,
>   "Upgrade" : {
>     "cluster_name" : "c1",
>     "create_time" : 1479741414972,
>     "direction" : "DOWNGRADE",
>     "downgrade_allowed" : true,
>     "end_time" : -1,
>     "exclusive" : false,
>     "from_version" : "2.3.6.0-3796",
>     "pack" : "nonrolling-upgrade-2.4",
>     "progress_percent" : 56.666666666666664,
>     "request_context" : "Downgrading to 2.3.6.0-3796",
>     "request_id" : 7,
>     "request_status" : "HOLDING_TIMEDOUT",
>     "skip_failures" : false,
>     "skip_service_check_failures" : false,
>     "start_time" : 1479741415378,
>     "suspended" : false,
>     "to_version" : "2.3.6.0-3796",
>     "type" : "INTERNAL_REQUEST",
>     "upgrade_type" : "NON_ROLLING"
>   }
> }
> {code}
> However they should be:
> ||Direction||from_version||to_version||
> |UPGRADE|2.5.0.0|2.5.1.0|
> |DOWNGRADE|2.5.1.0|2.5.0.0|



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to