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/05 23:25:46 UTC
svn commit: r1346600 - in /incubator/ambari/branches/ambari-186: CHANGES.txt
hmc/php/puppet/PuppetInvoker.php
Author: vikram
Date: Tue Jun 5 21:25:45 2012
New Revision: 1346600
URL: http://svn.apache.org/viewvc?rev=1346600&view=rev
Log:
AMBARI-340. Info logs for PuppetInvoker (Contributed by Jitendra)
Modified:
incubator/ambari/branches/ambari-186/CHANGES.txt
incubator/ambari/branches/ambari-186/hmc/php/puppet/PuppetInvoker.php
Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1346600&r1=1346599&r2=1346600&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Tue Jun 5 21:25:45 2012
@@ -6,6 +6,8 @@ characters wide.
Release 0.1.x - unreleased
+ AMBARI-340. Info logs for PuppetInvoker (Jitendra via Vikram)
+
AMBARI-337. Parallelize puppet kick --ping during bootstrap (Hitesh via Vikram)
AMBARI-335. Redundant downloads even though the artifacts are already installed (Ramya via Vikram)
Modified: incubator/ambari/branches/ambari-186/hmc/php/puppet/PuppetInvoker.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/puppet/PuppetInvoker.php?rev=1346600&r1=1346599&r2=1346600&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/puppet/PuppetInvoker.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/puppet/PuppetInvoker.php Tue Jun 5 21:25:45 2012
@@ -62,10 +62,10 @@
if (preg_match($regExSuccess, $output)>0) {
$successNodes[] = $kNode;
} else if (preg_match($regExRunning, $output)>0) {
- $this->logger->log_debug($kNode . "previous kick still running, will continue to wait");
+ $this->logger->log_info($kNode . "previous kick still running, will continue to wait");
$prevKickRunningNodes[] = $kNode;
} else {
- $this->logger->log_debug($kNode . ": Kick failed");
+ $this->logger->log_info($kNode . ": Kick failed");
$failedNodes[] = $kNode;
}
}
@@ -261,7 +261,7 @@
$doneNodes[$n] = 1;
}
}
- $this->logger->log_debug(count($doneNodes) . " out of " . count($nodes)
+ $this->logger->log_info(count($doneNodes) . " out of " . count($nodes)
. " nodes have reported");
if (count($doneNodes) >= count($nodes)) {
##All nodes kicked have reported back