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/02/28 21:52:58 UTC
svn commit: r1451335 - in /incubator/ambari/trunk: CHANGES.txt
ambari-web/app/controllers/global/cluster_controller.js
Author: yusaku
Date: Thu Feb 28 20:52:57 2013
New Revision: 1451335
URL: http://svn.apache.org/r1451335
Log:
AMBARI-1520. Alerts take around 20-30 seconds to show up everytime you refresh the dashboard. (srimanth via yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/controllers/global/cluster_controller.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1451335&r1=1451334&r2=1451335&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Feb 28 20:52:57 2013
@@ -387,6 +387,9 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1520. Alerts take around 20-30 seconds to show up everytime you
+ refresh the dashboad. (srimanth via yusaku)
+
AMBARI-1523. Ambari API: Resources doesn't always honor partial response fields restrictions. (tbeerbower)
AMBARI-1519. Ambari Web goes back and forth between frozen and usable state
Modified: incubator/ambari/trunk/ambari-web/app/controllers/global/cluster_controller.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/global/cluster_controller.js?rev=1451335&r1=1451334&r2=1451335&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/global/cluster_controller.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/global/cluster_controller.js Thu Feb 28 20:52:57 2013
@@ -208,6 +208,19 @@ App.ClusterController = Em.Controller.ex
},
/**
+ * Determination of Nagios presence is known only after App.Service is
+ * loaded from server. When that is done, no one tells alerts to load,
+ * due to which alerts are not loaded & shown till the next polling cycle.
+ * This method immediately loads alerts once Nagios presence is known.
+ */
+ isNagiosInstalledListener: function () {
+ var self = this;
+ self.loadAlerts(function () {
+ self.updateLoadStatus('alerts');
+ });
+ }.observes('isNagiosInstalled'),
+
+ /**
* Send request to server to load components updated statuses
* @param callback Slave function, should be called to fire delayed update.
* Look at <code>App.updater.run</code> for more information