-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45598/
-----------------------------------------------------------
Review request for Ambari, Dmytro Grinenko, Dmitro Lisnichenko, Jonathan
Hurley, and Nate Cole.
Bugs: AMBARI-15673
https://issues.apache.org/jira/browse/AMBARI-15673
Repository: ambari
Description
-------
STR:
* Installed Ambari ambari-server-2.2.2.0-354.x86_64
* HDP 2.3.0.0-2557
* Installed bits for HDP 2.4.0.0-169
* Performed EU
* It failed on waiting to leave HDFS Safemode, but you can do this on any
manual stage, such as Pre-Finalize; click the "Downgrade" button
Notice that the current Upgrade did not get ABORTED.
I had to manually run,
```update host_role_command set status = 'ABORTED' WHERE request_id = ? and
status IN ('PENDING', 'HOLDING_FAILED');```
Root cause is that UpgradeResourceProvider was expecting both these properties
to be passed as "status=ABORTED" & "suspended=true".
However, the UI was passing "status=ABORTED" & "suspended=false". In order to
keep the UI and system tests working, will make the API backward compatible so
that "suspended" can have any value.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
b3bf345
Diff: https://reviews.apache.org/r/45598/diff/
Testing
-------
Verified manually, waiting for unit test results.
Thanks,
Alejandro Fernandez