You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/01/02 15:01:18 UTC

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

Updated Branches:
  refs/heads/trunk 645408d54 -> 87686b64a


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


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/87686b64
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/87686b64
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/87686b64

Branch: refs/heads/trunk
Commit: 87686b64a416d4de765af3c0a7adfcba985c23bf
Parents: 645408d
Author: Andrew Onischuk <ao...@hortonworks.com>
Authored: Thu Jan 2 05:59:16 2014 -0800
Committer: Andrew Onischuk <ao...@hortonworks.com>
Committed: Thu Jan 2 05:59:16 2014 -0800

----------------------------------------------------------------------
 .../services/NAGIOS/package/templates/hadoop-services.cfg.j2      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/87686b64/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/NAGIOS/package/templates/hadoop-services.cfg.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/NAGIOS/package/templates/hadoop-services.cfg.j2 b/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/NAGIOS/package/templates/hadoop-services.cfg.j2
index 331eac3..0d789d1 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/NAGIOS/package/templates/hadoop-services.cfg.j2
+++ b/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
@@ -403,6 +401,7 @@ define service {
 }
 
 {% endif %}
+{% endif %}
 
 {% if hostgroup_defs['resourcemanager'] %}
 # YARN::RESOURCEMANAGER Checks