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 04:25:08 UTC

svn commit: r1347317 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/html/head.inc

Author: vikram
Date: Thu Jun  7 02:25:07 2012
New Revision: 1347317

URL: http://svn.apache.org/viewvc?rev=1347317&view=rev
Log:
AMBARI-488. Manage service needs a way to recover from terminated browser sessions (Contributed by Yusaku)

Modified:
    incubator/ambari/branches/ambari-186/CHANGES.txt
    incubator/ambari/branches/ambari-186/hmc/html/head.inc

Modified: incubator/ambari/branches/ambari-186/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1347317&r1=1347316&r2=1347317&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/CHANGES.txt (original)
+++ incubator/ambari/branches/ambari-186/CHANGES.txt Thu Jun  7 02:25:07 2012
@@ -6,6 +6,8 @@ characters wide.
 
 Release 0.1.x - unreleased
 
+  AMBARI-488. Manage service needs a way to recover from terminated browser sessions (Yusaku via Vikram)
+
   AMBARI-487. Add nodes with external name on AWS causes issues. (Vikram)
 
   AMBARI-486. Add Node installs MySQL Server for Hive (Yusaku via Vikram)

Modified: incubator/ambari/branches/ambari-186/hmc/html/head.inc
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/html/head.inc?rev=1347317&r1=1347316&r2=1347317&view=diff
==============================================================================
--- incubator/ambari/branches/ambari-186/hmc/html/head.inc (original)
+++ incubator/ambari/branches/ambari-186/hmc/html/head.inc Thu Jun  7 02:25:07 2012
@@ -82,6 +82,13 @@ if (sizeof($clusters) == 0) {
         }     
         $clusterState = 'DEPLOYMENT_IN_PROGRESS';
         break;
+      case 'SERVICE_MANAGEMENT_IN_PROGRESS':
+        if (!$bypassRouter && $requestPage != 'showManageServicesProgress.php') {
+          eval(redirectToPage($requestPage, 'showManageServicesProgress.php'));
+          exit;
+        }     
+        $clusterState = 'SERVICE_MANAGEMENT_IN_PROGRESS';
+        break;        
       case 'UNINSTALLATION_IN_PROGRESS':
         if (!$bypassRouter && $requestPage != 'showUninstallProgress.php') {
           eval(redirectToPage($requestPage, 'showUninstallProgress.php'));