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 02:35:54 UTC

svn commit: r1347219 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/frontend/uninstall.php

Author: vikram
Date: Thu Jun  7 00:35:54 2012
New Revision: 1347219

URL: http://svn.apache.org/viewvc?rev=1347219&view=rev
Log:
AMBARI-417. Typo fix in uninstall path. (Contributed by Vikram)

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

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347219&r1=1347218&r2=1347219&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 00:35:54 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-417. Typo fix in uninstall path. (Vikram)
+
   AMBARI-415. Reset service back to original state after reconfiguration (Hitesh via Vikram)
 
   AMBARI-414. Add rpm spec for hmc agent. (Mahadev 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=1347219&r1=1347218&r2=1347219&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:35:54 2012
@@ -28,7 +28,7 @@ if ($action == "wipeOut") {
 
 ////// need to generate the hosts.txt file with all the good nodes in the cluster
 $allHostsInfo = $dbAccessor->getAllHostsInfo($clusterName, 
-  array("=" => array ( "discoveryStatus" => "SUCCESS"));
+  array("=" => array ( "discoveryStatus" => "SUCCESS")));
 if ($allHostsInfo["result"] != 0 ) {
   $logger->log_error("Got error while getting hostsInfo ".$allHostsInfo["error"]);
   print json_encode($allHostsInfo);
@@ -40,7 +40,7 @@ $hostFileName = getHostsFilePath($cluste
 $hostFileHdl = fopen($hostFileName, "w");
 
 foreach ($allHostsInfo["hosts"] as $hostInfo) {
-  fwrite($hostFileHdl, "$hostInfo["hostName"]\n");
+  fwrite($hostFileHdl, $hostInfo["hostName"]."\n");
 }
 
 fclose($hostFileHdl);