فهرست منبع

AMBARI-1345. Alerts are not showing up at all in Service pages. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1442811 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 سال پیش
والد
کامیت
b1c401d323
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 2 0
      CHANGES.txt
  2. 1 1
      ambari-web/app/controllers/global/cluster_controller.js

+ 2 - 0
CHANGES.txt

@@ -248,6 +248,8 @@ Trunk (unreleased changes):
 
 
  BUG FIXES
  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
  AMBARI-1346. The number of task trackers does not reflect the actual number
  in MapReduce service summary after new TaskTrackers have been added until
  in MapReduce service summary after new TaskTrackers have been added until
  page refresh. (yusaku)
  page refresh. (yusaku)

+ 1 - 1
ambari-web/app/controllers/global/cluster_controller.js

@@ -191,7 +191,7 @@ App.ClusterController = Em.Controller.extend({
       if (lastSlash > -1) {
       if (lastSlash > -1) {
         nagiosUrl = nagiosUrl.substring(0, lastSlash);
         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 = {
       var ajaxOptions = {
         dataType:"json",
         dataType:"json",
         context:this,
         context:this,