You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Tom Beerbower <tb...@hortonworks.com> on 2014/04/30 02:09:27 UTC

Review Request 20868: Some services are INSTALLED, but host state is HEALTHY

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

Review request for Ambari, Mahadev Konar and Nate Cole.


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


Repository: ambari


Description
-------

Steps to reproduce:
1. Stop some HDP service (or services)
2. Check host state by API requests
{code}http://winhdp-1:8080/api/v1/clusters/ambari/hosts/WINHDP-1{code}
{code}http://winhdp-1:8080/api/v1/hosts/WINHDP-1{code}

*Expected result*: host state should be UNHEALTHY if even one service is INSTALLED
*Actual result*: host state is always HEALTHY.


Diffs
-----

  contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java 0d54092 
  contrib/ambari-scom/ambari-scom-server/src/test/java/org/apache/ambari/msi/ClusterDefinitionTest.java ffdd10a 

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


Testing
-------

New unit test added.  All tests pass ...

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari SCOM Project ............................... SUCCESS [2.871s]
[INFO] Ambari SCOM Server ................................ SUCCESS [14.343s]
[INFO] Ambari SCOM Metrics Sink .......................... SUCCESS [1.995s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.343s
[INFO] Finished at: Tue Apr 29 19:54:38 EDT 2014
[INFO] Final Memory: 25M/81M
[INFO] ------------------------------------------------------------------------


Thanks,

Tom Beerbower


Re: Review Request 20868: Some services are INSTALLED, but host state is HEALTHY

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20868/#review41821
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On April 29, 2014, 8:09 p.m., Tom Beerbower wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20868/
> -----------------------------------------------------------
> 
> (Updated April 29, 2014, 8:09 p.m.)
> 
> 
> Review request for Ambari, Mahadev Konar and Nate Cole.
> 
> 
> Bugs: AMBARI-5627
>     https://issues.apache.org/jira/browse/AMBARI-5627
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Steps to reproduce:
> 1. Stop some HDP service (or services)
> 2. Check host state by API requests
> {code}http://winhdp-1:8080/api/v1/clusters/ambari/hosts/WINHDP-1{code}
> {code}http://winhdp-1:8080/api/v1/hosts/WINHDP-1{code}
> 
> *Expected result*: host state should be UNHEALTHY if even one service is INSTALLED
> *Actual result*: host state is always HEALTHY.
> 
> 
> Diffs
> -----
> 
>   contrib/ambari-scom/ambari-scom-server/src/main/java/org/apache/ambari/msi/ClusterDefinition.java 0d54092 
>   contrib/ambari-scom/ambari-scom-server/src/test/java/org/apache/ambari/msi/ClusterDefinitionTest.java ffdd10a 
> 
> Diff: https://reviews.apache.org/r/20868/diff/
> 
> 
> Testing
> -------
> 
> New unit test added.  All tests pass ...
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari SCOM Project ............................... SUCCESS [2.871s]
> [INFO] Ambari SCOM Server ................................ SUCCESS [14.343s]
> [INFO] Ambari SCOM Metrics Sink .......................... SUCCESS [1.995s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 19.343s
> [INFO] Finished at: Tue Apr 29 19:54:38 EDT 2014
> [INFO] Final Memory: 25M/81M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Tom Beerbower
> 
>