Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4CF61200BCE for ; Fri, 2 Dec 2016 17:55:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4BC37160B24; Fri, 2 Dec 2016 16:55:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 85D4A160B27 for ; Fri, 2 Dec 2016 17:54:59 +0100 (CET) Received: (qmail 51409 invoked by uid 500); 2 Dec 2016 16:54:58 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 51195 invoked by uid 99); 2 Dec 2016 16:54:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 16:54:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 875092C2A6A for ; Fri, 2 Dec 2016 16:54:58 +0000 (UTC) Date: Fri, 2 Dec 2016 16:54:58 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-19053) RU: wrong version exposed when Downgrade is going MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Dec 2016 16:55:00 -0000 [ https://issues.apache.org/jira/browse/AMBARI-19053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715632#comment-15715632 ] Hudson commented on AMBARI-19053: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6140 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6140/]) AMBARI-19053. RU: wrong version exposed when Downgrade is going (ncole) (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7eb2eaa73315189533e039b45cf90655adf25390]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java > 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)