You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2013/02/26 01:04:42 UTC

svn commit: r1449974 - in /incubator/ambari/trunk: CHANGES.txt ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb

Author: mahadev
Date: Tue Feb 26 00:04:42 2013
New Revision: 1449974

URL: http://svn.apache.org/r1449974
Log:
AMBARI-1487. Fix alerts at host level if MapReduce is not selected not to alert for tasktrackers not running. (mahadev)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1449974&r1=1449973&r2=1449974&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Feb 26 00:04:42 2013
@@ -633,6 +633,9 @@ Trunk (unreleased changes):
  AMBARI-1495. Out of Memory Issues on Ambari Server when server is running on
  single core. (mahadev)
 
+ AMBARI-1487. Fix alerts at host level if MapReduce is not selected not to
+ alert for tasktrackers not running. (mahadev)
+
 AMBARI-1.2.0 branch:
 
  INCOMPATIBLE CHANGES

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb?rev=1449974&r1=1449973&r2=1449974&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb Tue Feb 26 00:04:42 2013
@@ -316,6 +316,19 @@ define service {
         retry_check_interval    1 
         max_check_attempts      5
 }
+
+# MAPREDUCE::TASKTRACKER Checks 
+define service {
+        hostgroup_name          slaves
+        use                     hadoop-service
+        service_description     TASKTRACKER::TaskTracker process down
+        servicegroups           MAPREDUCE
+        check_command           check_tcp!50060!-w 1 -c 1
+        normal_check_interval   1
+        retry_check_interval    0.5
+        max_check_attempts      3
+}
+
 <%end-%>
 
 <%if scope.function_hdp_nagios_members_exist('slaves')-%>
@@ -342,17 +355,6 @@ define service {
         max_check_attempts      2
 }
 
-# MAPREDUCE::TASKTRACKER Checks 
-define service {
-        hostgroup_name          slaves
-        use                     hadoop-service
-        service_description     TASKTRACKER::TaskTracker process down
-        servicegroups           MAPREDUCE
-        check_command           check_tcp!50060!-w 1 -c 1
-        normal_check_interval   1
-        retry_check_interval    0.5
-        max_check_attempts      3
-}
 <%end-%>
 
 <%if scope.function_hdp_nagios_members_exist('zookeeper-servers')-%>