You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2016/12/07 20:36:58 UTC
[jira] [Updated] (MESOS-6750) Metrics on the Agent view of the
Mesos web UI flickers between empty and non-empty states
[ https://issues.apache.org/jira/browse/MESOS-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Wu updated MESOS-6750:
-----------------------------
Attachment: patch.diff
Attached a diff to show the parts of the JS that will probably be affected.
> Metrics on the Agent view of the Mesos web UI flickers between empty and non-empty states
> -----------------------------------------------------------------------------------------
>
> Key: MESOS-6750
> URL: https://issues.apache.org/jira/browse/MESOS-6750
> Project: Mesos
> Issue Type: Bug
> Components: webui
> Affects Versions: 1.0.2, 1.1.0
> Reporter: Joseph Wu
> Assignee: haosdent
> Priority: Minor
> Attachments: patch.diff
>
>
> When viewing a specific agent on the Mesos WebUI, the metrics panel on the left side of the UI will alternate between having values and being empty.
> This is due to two different callbacks that run:
> * This one sets the metrics into the {{$scope.state}} variable: https://github.com/apache/mesos/blob/1.1.x/src/webui/master/static/js/controllers.js#L564-L577
> * This one blows away the {{$scope.state}} in favor of a new one: https://github.com/apache/mesos/blob/1.1.x/src/webui/master/static/js/controllers.js#L521
> The metrics callback should simply assign to a different variable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)