You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/04/25 01:33:05 UTC

svn commit: r1471776 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/controllers/main/host/details.js

Author: yusaku
Date: Wed Apr 24 23:33:03 2013
New Revision: 1471776

URL: http://svn.apache.org/r1471776
Log:
AMBARI-2015. Host component start/stop causes "Uncaught TypeError: Cannot call method call of undefined". (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1471776&r1=1471775&r2=1471776&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Apr 24 23:33:03 2013
@@ -789,6 +789,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2015. Host component start/stop causes "Uncaught TypeError: Cannot call
+ method 'call' of undefined". (yusaku)
+
  AMBARI-2011. Add Hosts gets stuck at 33% (some hosts in the cluster were
  down). (yusaku)
 

Modified: incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js?rev=1471776&r1=1471775&r2=1471776&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js Wed Apr 24 23:33:03 2013
@@ -158,7 +158,7 @@ App.MainHostDetailsController = Em.Contr
                 component.set('workStatus', App.HostComponentStatus.started);
               },App.testModeDelayForActions);
             } else {
-              App.router.get('clusterController').loadUpdatedStatus();
+              App.router.get('clusterController').loadUpdatedStatusDelayed(500);
             }
 
             App.router.get('backgroundOperationsController').showPopup();
@@ -197,7 +197,7 @@ App.MainHostDetailsController = Em.Contr
             component.set('workStatus', App.HostComponentStatus.stopped);
           },App.testModeDelayForActions);
         } else {
-          App.router.get('clusterController').loadUpdatedStatus();
+          App.router.get('clusterController').loadUpdatedStatusDelayed(500);
         }
 
         App.router.get('backgroundOperationsController').showPopup();
@@ -271,7 +271,7 @@ App.MainHostDetailsController = Em.Contr
                     component.set('workStatus', App.HostComponentStatus.stopped);
                   }, App.testModeDelayForActions);
                 } else {
-                  App.router.get('clusterController').loadUpdatedStatus();
+                  App.router.get('clusterController').loadUpdatedStatusDelayed(500);
                 }
 
                 App.router.get('backgroundOperationsController').showPopup();