ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <afernan...@hortonworks.com>
Subject Re: Review Request 42730: AMBARI-14793. Pre-Check error reports last upgrade as ABORTED after upgrade then downgrade
Date Mon, 25 Jan 2016 20:41:25 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42730/
-----------------------------------------------------------

(Updated Jan. 25, 2016, 8:41 p.m.)


Review request for Ambari, Jonathan Hurley, Jayush Luniya, Nate Cole, and Swapan Shridhar.


Bugs: AMBARI-14793
    https://issues.apache.org/jira/browse/AMBARI-14793


Repository: ambari


Description
-------

*Steps:*
# Install HDP 2.3.4.0 cluster
# Start Rolling/Express Upgrade
# Hit Downgrade at first prompt for manual intervention (during the upgrade process)
# Let the Downgrade finish
# Hit Perform Upgrade

Following pre-check error is reported:
```
Reason: Upgrade attempt (id: 1, request id: 22, from version: 2.3.4.0-3485, to version: 2.4.0.0-128)
did not complete task with id 681 since its state is ABORTED instead of COMPLETED. Please
ensure that you called:
ambari-server set-current --cluster-name=$CLUSTERNAME --version-display-name=$VERSION_NAME
Further, change the status of host_role_command with id 1 to COMPLETED
Failed on: cl1
```


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/checks/PreviousUpgradeCompleted.java
4af0896 
  ambari-server/src/test/java/org/apache/ambari/server/checks/PreviousUpgradeCompletedTest.java
PRE-CREATION 

Diff: https://reviews.apache.org/r/42730/diff/


Testing
-------

Verified on a live cluster after performing an upgrade and downgrade.


Thanks,

Alejandro Fernandez


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message