ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Review Request 37815: Distribute Repository For Upgrade With Unhealthy Hosts
Date Wed, 26 Aug 2015 21:37:40 GMT

-----------------------------------------------------------
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


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