incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject svn commit: r1339990 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/php/frontend/fetchTxnProgress.php hmc/php/frontend/uninstallCleanup.php
Date Fri, 18 May 2012 06:09:49 GMT
Author: hitesh
Date: Fri May 18 06:09:49 2012
New Revision: 1339990

URL: http://svn.apache.org/viewvc?rev=1339990&view=rev
Log:
AMBARI-282. Make fetchTxnProgress post processing easier to debug. Contributed by Vikram

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

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1339990&r1=1339989&r2=1339990&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Fri May 18 06:09:49 2012
@@ -2,6 +2,8 @@ Ambari Change log
 
 Release 0.x.x - unreleased
 
+  AMBARI-282. Make fetchTxnProgress post processing easier to debug. (Vikram via hitesh)
+
   AMBARI-281. Uninstall should hide loading image at startup. (Vikram via hitesh)
 
   AMBARI-280. Cleanup of utilities. (Vikram via hitesh)

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/fetchTxnProgress.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/fetchTxnProgress.php?rev=1339990&r1=1339989&r2=1339990&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/fetchTxnProgress.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/fetchTxnProgress.php Fri May 18
06:09:49 2012
@@ -685,6 +685,7 @@ $lastTransaction = $progressSubTxn;
 
 $dbAccessor = new HMCDBAccessor($GLOBALS["DB_PATH"]);
 
+$logger->log_debug("Process running? ".$progress['processRunning']." encountered error
".$progress['encounteredError']);
 if (($progress['processRunning'] == FALSE) || ($progress['encounteredError'] == TRUE)) {
   // get the transaction status info from db
   $retval = $dbAccessor->getTransactionStatusInfo($clusterName, $txnId);

Modified: incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstallCleanup.php
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstallCleanup.php?rev=1339990&r1=1339989&r2=1339990&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstallCleanup.php (original)
+++ incubator/ambari/branches/ambari-186/hmc/php/frontend/uninstallCleanup.php Fri May 18
06:09:49 2012
@@ -23,7 +23,6 @@ function deBootStrap ($clusterName, $dep
 
   /////// launch the stages in the background.
   $stagesFile = "./uninstall/stages.php";
-  error_log("ClusterName: ".$clusterName);
   $logger->log_debug("ClusterName: $clusterName\n");
   $logger->log_debug("Deploy User: $deployUser\n");
   $status = "";         



Mime
View raw message