-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31371/
-----------------------------------------------------------
(Updated Feb. 24, 2015, 9:16 p.m.)
Review request for Ambari, Alejandro Fernandez, Nate Cole, and Tom Beerbower.
Changes
-------
Simplified patch as Alejandro suggested.
Manual check passed, E2E test on live cluster and unit test coverage is still
pending
Bugs: AMBARI-9777
https://issues.apache.org/jira/browse/AMBARI-9777
Repository: ambari
Description
-------
If cluster has both CURRENT and OUT_OF_SYNC host version, and we add a new
host, only OUT_OF_SYNC host version is created (creating CURRENT host version
is skipped)
Also patch fixes mvn warning
[WARNING] While downloading org.apache.commons:commons-io:1.3.2
This artifact has been relocated to commons-io:commons-io:1.3.2.
https://issues.sonatype.org/browse/MVNCENTRAL-244
Diffs (updated)
-----
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
b2ba43b
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterTest.java
7d5f734
ambari-views/examples/weather-view/pom.xml 6845620
Diff: https://reviews.apache.org/r/31371/diff/
Testing
-------
manual tests
Unit test coverage is pending
Thanks,
Dmitro Lisnichenko