-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62719/
-----------------------------------------------------------
(Updated Oct. 2, 2017, 1:59 p.m.)
Review request for Ambari, Dmitro Lisnichenko and Nate Cole.
Bugs: AMBARI-22105
https://issues.apache.org/jira/browse/AMBARI-22105
Repository: ambari
Description
-------
STR:
- Install base version 2.6.0.0 with ZK and Storm
- Cause that base version to be out of sync for 1 component, say ZK.
- Install a patch for Storm
- Upgrade and attempt to finalize Storm
{noformat}
Finalizing the upgrade to 2.6.0.3-8 for the following services: STORM
The following 3 host(s) have not been upgraded to version 2.6.0.3-8. Please
install and upgrade the Stack Version on those hosts and try again.
Hosts: ctr-e134-1499953498516-185715-01-000002.hwx.site,
ctr-e134-1499953498516-185715-01-000003.hwx.site,
ctr-e134-1499953498516-185715-01-000004.hwx.site
{noformat}
This is because the code is detecting the OUT_OF_SYNC of other components/repos
on that host.
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/HostVersionOutOfSyncListener.java
2eb89a276f
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java
072863daed
ambari-server/src/main/java/org/apache/ambari/server/state/Host.java
78587af0a2
ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
cca27d2df6
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
f9d3cfc52a
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostSummary.java
e9359ef1eb
ambari-server/src/test/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListenerTest.java
3ea76cbf43
ambari-server/src/test/java/org/apache/ambari/server/orm/OrmTestHelper.java
ad95803d6e
ambari-server/src/test/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostTest.java
3aad5b0305
Diff: https://reviews.apache.org/r/62719/diff/2/
Changes: https://reviews.apache.org/r/62719/diff/1-2/
Testing
-------
PENDING...
Thanks,
Jonathan Hurley