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

(Updated Апрель 8, 2015, 7:50 п.п.)


Review request for Ambari, Alejandro Fernandez and Sid Wagle.


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


Repository: ambari


Description
-------

We have a situation where service components that have been installed and 
previously working have disappeared from the API response.
/api/v1/clusters/cluster_name/services/YARN/components does NOT return 
NODEMANAGER
/api/v1/clusters/cluster_name/services/STORM/components does NOT return 
SUPERVISOR
Note that Ambari Server shows an ERROR when loading these service components, 
but the server continues the startup sequence.
Ambari Web is even usable and you can login, but the YARN and STORM service 
summary panels show invalid info (and other operations fail, since the server 
thinks these service components don't even exist).
Ambari DB consistency should be check during ambari-server start


Diffs (updated)
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
 7ea96be 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
 58b94d8 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/DatabaseChecker.java
 PRE-CREATION 
  
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceComponentImpl.java
 23246b4 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java
 3a0d3fd 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/utilities/DatabaseCheckerTest.java
 PRE-CREATION 

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


Testing
-------

manual tests on corrupted DB's


Thanks,

Dmytro Sen

Reply via email to