ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nate Cole <nc...@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 19:23:16 GMT

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


Fix it, then Ship it!





ambari-server/src/main/java/org/apache/ambari/server/checks/PreviousUpgradeCompleted.java
(lines 104 - 106)
<https://reviews.apache.org/r/42730/#comment177149>

    Should have a test.


- Nate Cole


On Jan. 25, 2016, 2:15 p.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42730/
> -----------------------------------------------------------
> 
> (Updated Jan. 25, 2016, 2:15 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
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/checks/PreviousUpgradeCompleted.java
4af0896 
> 
> 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