ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sid Wagle" <swa...@hortonworks.com>
Subject Re: Review Request 32981: Some service components are missing from API response and causes problems
Date Wed, 08 Apr 2015 19:57:32 GMT

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

Ship it!


Ship It!

- Sid Wagle


On April 8, 2015, 7:50 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32981/
> -----------------------------------------------------------
> 
> (Updated April 8, 2015, 7:50 p.m.)
> 
> 
> 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
> -----
> 
>   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
> 
>


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