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

Review request for Ambari, Nate Cole and Tom Beerbower.


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


Repository: ambari


Description
-------

Hbase service alert for percent of RegionServers available doesn't disappear 
after a long time. Also, there is outdated alert text that doesn't match the 
current alert state.

STR:
1.Log in to ambari, go to services tab
2.Choose Hbase
3.In Service Actions drop-down choose stop
4.Start service the same way
5.Wait until in summary all components starts

ER: Alerts will disappear after a while
AR: Alerts disappear after >5 min


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertAggregateListener.java
 02bbba9 
  
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertReceivedListener.java
 83ee231 
  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
 51aa688 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOTest.java 
789fa90 
  
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/AlertDataManagerTest.java
 023d0ad 

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


Testing
-------

Manual verification of the initial problem as well as the fix. Added new tests 
to cover changed functionality.

mvn clean test


Thanks,

Jonathan Hurley

Reply via email to