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/06 01:16:46 UTC

svn commit: r1442811 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/controllers/global/cluster_controller.js

Author: yusaku
Date: Wed Feb  6 00:16:45 2013
New Revision: 1442811

URL: http://svn.apache.org/viewvc?rev=1442811&view=rev
Log:
AMBARI-1345. Alerts are not showing up at all in Service pages. (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=1442811&r1=1442810&r2=1442811&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed Feb  6 00:16:45 2013
@@ -248,6 +248,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1345. Alerts are not showing up at all in Service pages. (yusaku)
+
  AMBARI-1346. The number of task trackers does not reflect the actual number
  in MapReduce service summary after new TaskTrackers have been added until
  page refresh. (yusaku)

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=1442811&r1=1442810&r2=1442811&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 Wed Feb  6 00:16:45 2013
@@ -191,7 +191,7 @@ App.ClusterController = Em.Controller.ex
       if (lastSlash > -1) {
         nagiosUrl = nagiosUrl.substring(0, lastSlash);
       }
-      var dataUrl = this.getUrl('/data/alerts/alerts.json', '/host_components?HostRoles/component_name=NAGIOS_SERVER&fields=HostRoles/nagios_alerts');
+      var dataUrl = this.getUrl('/data/alerts/alerts.json', '/host_components?fields=HostRoles/nagios_alerts&HostRoles/component_name=NAGIOS_SERVER');
       var ajaxOptions = {
         dataType:"json",
         context:this,