Parcourir la source

AMBARI-4197. Nagios install fails, when no mapred on HDP1 is installed.
(aonishuk)

Andrew Onischuk il y a 11 ans
Parent
commit
87686b64a4

+ 1 - 2
ambari-server/src/main/resources/stacks/HDP/1.3.4/services/NAGIOS/package/templates/hadoop-services.cfg.j2

@@ -364,8 +364,6 @@ define service {
         max_check_attempts      5
 }
 
-{% endif %}
-
 {% if hostgroup_defs['tasktracker-servers'] %}
 define service {
         hostgroup_name          nagios-server
@@ -402,6 +400,7 @@ define service {
         max_check_attempts      3
 }
 
+{% endif %}
 {% endif %}
 
 {% if hostgroup_defs['resourcemanager'] %}