You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/06/07 00:14:09 UTC

svn commit: r1347170 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/util/selectNodes.php

Author: vikram
Date: Wed Jun  6 22:14:08 2012
New Revision: 1347170

URL: http://svn.apache.org/viewvc?rev=1347170&view=rev
Log:
AMBARI-395. Ganglia server should not run gmond. (Contributed by Mahadev)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/php/util/selectNodes.php

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347170&r1=1347169&r2=1347170&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Wed Jun  6 22:14:08 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-395. Ganglia server should not run gmond. (Mahadev via Vikram)
+
   AMBARI-394. Add nodes fails to find node in db (Vikram)
 
   AMBARI-393. ZooKeeper myid files not existent on ZK install. (Mahadev via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/php/util/selectNodes.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/util/selectNodes.php?rev=1347170&r1=1347169&r2=1347170&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/util/selectNodes.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/util/selectNodes.php Wed Jun  6 22:14:08 2012
@@ -270,7 +270,7 @@ class SelectNodes {
       $this->logger->log_debug("For cluster  $clusterName setting $componentName to host $hostName");
       $db->addHostsToComponent($clusterName, $componentName, $hostNames, "ASSIGNED", "");
       if ($componentName == "GANGLIA_MONITOR_SERVER") {
-        $gangliaMaster = $hostName;
+        $gangliaMaster = $hostNames[0];
       }
       if ($componentName == "ZOOKEEPER_SERVER") { 
         $sizeHosts = sizeof($hostNames);