ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yao Lei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20290) HDFS Heatmaps can't show the metric value of the selected metric
Date Fri, 09 Jun 2017 10:58:18 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yao Lei updated AMBARI-20290:
-----------------------------
    Summary: HDFS Heatmaps can't show the metric value of the selected metric  (was: null
in heapmap page)

> HDFS Heatmaps can't show the metric value of the selected metric
> ----------------------------------------------------------------
>
>                 Key: AMBARI-20290
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20290
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk, 2.4.0, 2.5.0
>            Reporter: zhangxiaolu
>             Fix For: trunk
>
>         Attachments: AMBARI-20290.patch, screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
>   drawWidget: function () {
>     if (this.get('isLoaded')) {
>       var hostToValueMap = this.calculateValues();
>       var hostNames = [];
>       if (this.get('racks').everyProperty('isLoaded', true)) {
>         this.get('racks').forEach(function (rack) {
>           hostNames = hostNames.concat(rack.hosts.mapProperty('hostName'));
>         });
>       }
>       var metricObject = App.MainChartHeatmapMetric.create({
>         name: this.get('content.displayName'),
>         units: this.get('content.properties.display_unit'),
>         maximumValue: this.get('controller.inputMaximum'),
>         hostNames: hostNames,
>         hostToValueMap: hostToValueMap
>       });
>       this.set('controller.selectedMetric', metricObject);
>       App.loadTimer.finish('Heatmaps Page');
>       App.loadTimer.finish('Service Heatmaps Page');
>     }
>   }.observes('racks.@each.isLoaded'),
> as loaded like top:
>  this.get('content.displayName') is always null



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message