incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vik...@apache.org
Subject svn commit: r1347237 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/frontend/uninstall.php hmc/php/frontend/uninstall/cleanupProcesses.php
Date Thu, 07 Jun 2012 00:57:06 GMT
Author: vikram
Date: Thu Jun  7 00:57:05 2012
New Revision: 1347237

URL: http://svn.apache.org/viewvc?rev=1347237&view=rev
Log:
AMBARI-433. Using service stop instead of killall for uninstall (Contributed by Vikram)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall.php
    incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall/cleanupProcesses.php

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347237&r1=1347236&r2=1347237&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 00:57:05 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-433. Using service stop instead of killall for uninstall (Vikram)
+
   AMBARI-432. Templeton should not install templeton.i386 (Ramya via Vikram)
 
   AMBARI-431. Fix orchestrator to use correct display names for descriptions of stages (Hitesh
via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall.php?rev=1347237&r1=1347236&r2=1347237&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall.php Thu Jun  7 00:57:05
2012
@@ -44,8 +44,6 @@ foreach ($allHostsInfo["hosts"] as $host
 }
 
 fclose($hostFileHdl);
-$logger->log_debug("HOST FILE IS NOW POPULATED GO AHEAD!!");
-sleep(5);
 ////// end of generating new file
 
 $logger->log_debug("Uninstall got wipeout value $wipeout");

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall/cleanupProcesses.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall/cleanupProcesses.php?rev=1347237&r1=1347236&r2=1347237&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall/cleanupProcesses.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstall/cleanupProcesses.php Thu
Jun  7 00:57:05 2012
@@ -11,7 +11,7 @@ $logger = new HMCLogger("CleanupProcesse
 $dbAccessor = new HMCDBAccessor($GLOBALS["DB_PATH"]);
 
 function getCommandLine() {
-  $cmdLine = " killall puppet ; ";
+  $cmdLine = " service hmc-agent stop; exit 0";
   return $cmdLine;
 }
 



Mime
View raw message