ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19347) Previous Upgrade In Progress Pre-Req Check Incorrectly Detects ABORTED Upgrade
Date Wed, 04 Jan 2017 22:56:58 GMT

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

Hudson commented on AMBARI-19347:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #638 (See [https://builds.apache.org/job/Ambari-branch-2.5/638/])
AMBARI-19347 - Previous Upgrade In Progress Pre-Req Check Incorrectly (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b26502b700925a85cad718621e9250bf38933b99])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UpgradeDAO.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/checks/PreviousUpgradeCompletedTest.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/orm/dao/UpgradeDAOTest.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/checks/PreviousUpgradeCompleted.java
* (add) ambari-server/src/main/resources/stacks/HDP/2.6/upgrades/host-ordered-upgrade.xml
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java


> Previous Upgrade In Progress Pre-Req Check Incorrectly Detects ABORTED Upgrade
> ------------------------------------------------------------------------------
>
>                 Key: AMBARI-19347
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19347
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19347.patch
>
>
> Due to the fix made for 
> AMBARI-19053, the prereq check for previously created needs to be corrected for determining
the downgrade that matched the failed upgrade.
> The original logic for this check was overly complex (and kind of wrong). It ignored
the state of the downgrade if one existed. In reality, we should care about the "last" downgrade
and what its state is. Additionally, checking for `FinalizeUpgradeAction` as part of the commands
in an upgrade is problematic for upgrades which may not have this command on different stacks.



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

Mime
View raw message