You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by om...@apache.org on 2012/05/11 18:05:41 UTC

svn commit: r1337235 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/frontend/addNodes/findSshableNodes.php hmc/php/frontend/addNodes/obtainNodesInfo.php

Author: omalley
Date: Fri May 11 16:05:40 2012
New Revision: 1337235

URL: http://svn.apache.org/viewvc?rev=1337235&view=rev
Log:
AMBARI-216. Remove sleeps to speed simulations of installs. (Vikram Dixit
via omalley)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/findSshableNodes.php
    incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/obtainNodesInfo.php

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1337235&r1=1337234&r2=1337235&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Fri May 11 16:05:40 2012
@@ -2,6 +2,9 @@ Ambari Change log
 
 Release 0.x.x - unreleased
 
+  AMBARI-216. Remove sleeps to speed simulations of installs. (Vikram Dixit
+  via omalley)
+
   AMBARI-215. Fix description for dfs_data_dir. (hitesh via omalley)
 
   AMBARI-209. Node selection should ignore failed nodes. (hitesh via omalley)

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/findSshableNodes.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/findSshableNodes.php?rev=1337235&r1=1337234&r2=1337235&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/findSshableNodes.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/findSshableNodes.php Fri May 11 16:05:40 2012
@@ -15,7 +15,8 @@ $dbAccessor = new HMCDBAccessor($GLOBALS
 
 function getCommandLine() {
   $cmdLine = "hostname ;";
-  $cmdLine = $cmdLine . 'sleep $[ $RANDOM % 5 ]; ';
+  // uncomment following line for demo purposes.
+  // $cmdLine = $cmdLine . 'sleep $[ $RANDOM % 5 ]; ';
   return $cmdLine;
 }
 

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/obtainNodesInfo.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/obtainNodesInfo.php?rev=1337235&r1=1337234&r2=1337235&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/obtainNodesInfo.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/addNodes/obtainNodesInfo.php Fri May 11 16:05:40 2012
@@ -33,7 +33,8 @@ function getCommandLine() {
 
   $cmdLine = $freeCmd.$echoCmd.$cpuCmd.$echoCmd.$archCmd.$echoCmd.$mntPointCmd.$echoCmd.$osTypeCmd.$echoCmd.$osInfoCmd.$echoCmd.$ipCmd.$echoCmd.$publicDnsCmd.$echoCmd.$privateDnsCmd.$echoCmd;
 
-  $cmdLine = $cmdLine . 'sleep $[ $RANDOM % 5 ]; ';
+  // uncomment following line for demo purposes.
+  // $cmdLine = $cmdLine . 'sleep $[ $RANDOM % 5 ]; ';
   return $cmdLine;
 }