incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject svn commit: r1471776 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/controllers/main/host/details.js
Date Wed, 24 Apr 2013 23:33:05 GMT
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();



Mime
View raw message