incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject svn commit: r1462533 - in /incubator/ambari/trunk: CHANGES.txt ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp
Date Fri, 29 Mar 2013 17:00:35 GMT
Author: smohanty
Date: Fri Mar 29 17:00:34 2013
New Revision: 1462533

URL: http://svn.apache.org/r1462533
Log:
AMBARI-1506. Installs HBase ganglia configs when HBase not installed. (smohanty)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1462533&r1=1462532&r2=1462533&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Fri Mar 29 17:00:34 2013
@@ -534,6 +534,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1506. Installs HBase ganglia configs when HBase not installed.
+ (smohanty)
+
  AMBARI-1739. HBase and Zk failed to start on secure install. (swagle)
 
  AMBARI-1732. Oozie service check fails in secure cluster. (jaimin)

Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp?rev=1462533&r1=1462532&r2=1462533&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp
(original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-ganglia/manifests/server.pp
Fri Mar 29 17:00:34 2013
@@ -52,10 +52,18 @@ class hdp-ganglia::server(
     service_state       => $service_state 
   }
 
-  hdp-ganglia::config::generate_server { ['HDPHBaseMaster','HDPJobTracker','HDPNameNode','HDPSlaves']:
+  if ($hdp::params::hbase_master_hosts) {
+    hdp-ganglia::config::generate_server { 'HDPHBaseMaster':
+      ganglia_service => 'gmond',
+      role => 'server'
+    }
+  }
+  
+  hdp-ganglia::config::generate_server { ['HDPJobTracker','HDPNameNode','HDPSlaves']:
     ganglia_service => 'gmond',
     role => 'server'
   }
+
   hdp-ganglia::config::generate_server { 'gmetad':
     ganglia_service => 'gmetad',
     role => 'server'



Mime
View raw message