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


Ship it!





ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertReceivedListener.java
 (lines 404 - 405)
<https://reviews.apache.org/r/45442/#comment188868>

    Would anyone need any other detail?  There's a lot to trigger this: "Unable 
to process alert for ... due to ..."   Also, is it really in-error, or warning?



ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
 (lines 392 - 397)
<https://reviews.apache.org/r/45442/#comment188869>

    I have no idea how this hostClusterMap relationship came to be :)


- Nate Cole


On March 29, 2016, 3:32 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45442/
> -----------------------------------------------------------
> 
> (Updated March 29, 2016, 3:32 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Nate 
> Cole.
> 
> 
> Bugs: AMBARI-15620
>     https://issues.apache.org/jira/browse/AMBARI-15620
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Host-level alerts from {{AMBARI}}/{{AMBARI_AGENT}} are orphaned after 
> removing a host because they are always considered valid. 
> 
> STR
> - Deploy cluster 
> - Add/Remove nodes a few times 
> - Removed all aded nodes
> 
> {code}
>  There are 4 stale alerts from 4 host(s): 
> amb-roll-workflow1458640758-5.novalocal[Host Disk Usage (3h 52m)], 
> amb-roll-workflow1458640758-2.novalocal[Host Disk Usage (3h 52m)], 
> amb-roll-workflow1458640758-3.novalocal[Host Disk Usage (3h 52m)], 
> amb-roll-workflow1458640758-4.novalocal[Host Disk Usage (3h 52m)]
> {code}
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertReceivedListener.java
>  8dc8e1e 
>   ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostDAO.java 
> ebd29e3 
>   ambari-server/src/main/java/org/apache/ambari/server/state/Clusters.java 
> a1ebaba 
>   
> ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
>  6c68d0e 
>   
> ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertReceivedListenerTest.java
>  136a756 
> 
> Diff: https://reviews.apache.org/r/45442/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>

Reply via email to