-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37815/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez and Nate Cole.
Bugs: AMBARI-12889
https://issues.apache.org/jira/browse/AMBARI-12889
Repository: ambari
Description
-------
When distributing a repository before an upgrade, hosts that are unhealthy
should not be included. They will be purposely skipped when creating the
distribution request. The APIs and the web client will continue to report the
same distribution status in the Stacks & Versions page. An unhealthy host will
report that it does not have the desired stack installed.
This will be the case for hosts which are heartbeating, but are in maintenance
mode. The maintenance mode flag will indicate that the new stack should not be
distributed to the host.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
2f3e959
ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java
ad481f3
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
86f5f32
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
5b24edc
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterTest.java
f047b33
Diff: https://reviews.apache.org/r/37815/diff/
Testing
-------
Tests run: 3160, Failures: 0, Errors: 0, Skipped: 25
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29:59 min
[INFO] Finished at: 2015-08-26T17:34:55-04:00
[INFO] Final Memory: 35M/1253M
[INFO] ------------------------------------------------------------------------
Thanks,
Jonathan Hurley