----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/22488/#review45461 -----------------------------------------------------------
Ship it! Ship It! - Sid Wagle On June 12, 2014, 1:15 a.m., Nate Cole wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/22488/ > ----------------------------------------------------------- > > (Updated June 12, 2014, 1:15 a.m.) > > > Review request for Ambari, Jonathan Hurley and Sid Wagle. > > > Bugs: AMBARI-6092 > https://issues.apache.org/jira/browse/AMBARI-6092 > > > Repository: ambari > > > Description > ------- > > Add the ability for agents (in this case, Flume) to return Alert information > to Ambari. > * Only reports alerts and shows them in the UI. Another JIRA will actually > get the alerts to Nagios for distribution. > * This is the first step of a much larger design with eventual removal of > Nagios collecting alerts, so this patch may get refactored as we go, but is a > good first step. > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/ActionQueue.py 9defc7d > ambari-agent/src/test/python/ambari_agent/TestActionQueue.py 5c433f9 > ambari-server/src/main/java/org/apache/ambari/server/agent/AgentAlert.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/agent/ComponentStatus.java > 292247f > > ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java > 0f4acd7 > > ambari-server/src/main/java/org/apache/ambari/server/controller/nagios/NagiosAlert.java > ba637c2 > > ambari-server/src/main/java/org/apache/ambari/server/controller/nagios/NagiosPropertyProvider.java > ba7309a > ambari-server/src/main/java/org/apache/ambari/server/state/Alert.java > PRE-CREATION > ambari-server/src/main/java/org/apache/ambari/server/state/AlertState.java > PRE-CREATION > ambari-server/src/main/java/org/apache/ambari/server/state/Cluster.java > e1a3e42 > > ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java > f7e31b2 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/package/scripts/flume_handler.py > 19d4afa > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-servicegroups.cfg.j2 > 49e8fb0 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-services.cfg.j2 > 8ab3f7a > > ambari-server/src/test/java/org/apache/ambari/server/agent/TestHeartbeatHandler.java > 090aa81 > > ambari-server/src/test/java/org/apache/ambari/server/controller/nagios/NagiosPropertyProviderTest.java > b16457d > ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py d0df762 > > Diff: https://reviews.apache.org/r/22488/diff/ > > > Testing > ------- > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 14:54.202s > [INFO] Finished at: Wed Jun 11 18:24:40 EDT 2014 > [INFO] Final Memory: 21M/123M > [INFO] > ------------------------------------------------------------------------ > > > Thanks, > > Nate Cole > >
