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

Review request for Ambari, Alejandro Fernandez and Nate Cole.


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


Repository: ambari


Description
-------

STR:
# Install cluster (e.g HDP  2.3.0.0-2557). One of the hosts should consists 
from only slaves and clients components (including Phoenix query server)
# Register and install new stack version (e.g 2.4.2.0-195)
# Stop ambari-agent on host without masters 
# Turn on Maintenance Mode for this host
# Try to start upgrade.
Result: PHOENIX_QUERY_SERVER is in UNKNOWN state on Maintenance Mode host is 
preventing upgrade.

The problem here is that the ServicesUpCheck does not take MM into account.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/checks/ServicesUpCheck.java
 09ad55d 
  
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListener.java
 2153113 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/models/HostComponentSummary.java
 c79ec8a 
  
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
 caab7df 
  
ambari-server/src/test/java/org/apache/ambari/server/checks/ServicesUpCheckTest.java
 88826a0 

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


Testing
-------

mvn clean test


Thanks,

Jonathan Hurley

Reply via email to