You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "jingyu.you (JIRA)" <ji...@apache.org> on 2016/06/07 08:38:21 UTC
[jira] [Commented] (AMBARI-17083) Ambari Web: Heatmaps graph color
is different from real host memory used(%)
[ https://issues.apache.org/jira/browse/AMBARI-17083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318137#comment-15318137 ]
jingyu.you commented on AMBARI-17083:
-------------------------------------
Cause:
1. apache-ambari-2.2.0-src/ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json
line 61 : "${((mem_total-mem_free-mem_cached)/mem_total)*100}
2. apache-ambari-2.2.0-src/ambari-web/app/views/main/charts/heatmap/heatmap_host.js
line 138 : result = ((total - item[freeProperty]) / total) * 100;
The memory used formula is different! Which is correct?
> Ambari Web: Heatmaps graph color is different from real host memory used(%)
> ---------------------------------------------------------------------------
>
> Key: AMBARI-17083
> URL: https://issues.apache.org/jira/browse/AMBARI-17083
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.2.0
> Environment: Centos6.5
> Reporter: jingyu.you
> Priority: Minor
>
> Host Memory Used graph bar color in Heatmaps is not correct.
> For example, memory used in host is 67.4% but the bar graph color is green. It's wrong color. It should be orange color.
> Confirm:
> 1. Ambari Web
> 2. Dashboard > Heatmaps > Select Metrics(Host) > Host Memory Used %
> 3. Check graph bar color against the Memory metrics on mouse over.
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)