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 30343: RU - FinalizeUpgradeAction needs to ignore hosts without a host_version record
Date Fri, 30 Jan 2015 23:48:33 GMT

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

(Updated Jan. 30, 2015, 11:48 p.m.)


Review request for Ambari, Jonathan Hurley, Nate Cole, and Yurii Shylov.


Changes
-------

Re-tested and unit tests passed.


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


Repository: ambari


Description
-------

Install a cluster such that one host only has AMS component, so that it does not create a
host_version record for that host.
The Finalize Upgrade Action will fail because the host was never added to the set of hosts
with a correct version state.


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostComponentStateDAO.java
fd1ce9e 
  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostComponentStateEntity.java
1e48950 
  ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FinalizeUpgradeAction.java
56281a2 
  ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java 2328bed

  ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
55a6ce7 
  ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostSummary.java
PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.2.xml 139dbdb 

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


Testing
-------

In-progress


Thanks,

Alejandro Fernandez


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