ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <>
Subject Review Request 28105: Alerts: Remove Flume Alerts From Host Components
Date Sun, 16 Nov 2014 13:54:01 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari, Alejandro Fernandez, Nate Cole, and Tom Beerbower.

Bugs: AMBARI-8344

Repository: ambari


With Nagios as the alerting system, Flume alerts needed to be injected into the response of
the status command and manually inserted into the list of cluster alerts. 

The new alerting system removes the need for this workaround since a single flume script is
now used to check and report on the overall flume state.

The following areas of code should be removed:
1) Remove the alerts from the {{status}} function of {{}}
2) Remove the {{AgentAlert}} from the host components
3) Remove the collection of Alerts from the cluster


  ambari-server/src/main/java/org/apache/ambari/server/agent/ 8c8bc78 
  ambari-server/src/main/java/org/apache/ambari/server/agent/ 7a0c1c7

  ambari-server/src/main/java/org/apache/ambari/server/agent/ 82b642b

  ambari-server/src/main/java/org/apache/ambari/server/agent/ c63e018 
  ambari-server/src/main/java/org/apache/ambari/server/state/ 77ab0eb 
  ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ 30dceb0

  ambari-server/src/test/java/org/apache/ambari/server/agent/ 6e78b1d

  ambari-server/src/test/java/org/apache/ambari/server/agent/ 2a0f3db

  ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ 7a09514

  ambari-server/src/test/python/stacks/2.0.6/FLUME/ 28a0ec9 



Although `alerts` was removed from the structured output, `processes` was not. To verify that
the web client still was able to report the correct flume process information I configured
2 different flume agents (netstat and hdfs file sync). Verifed that start/stopping/killing
the agent processes was correctly reflected in the UI.

mvn clean test as well.


Jonathan Hurley

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