[ https://issues.apache.org/jira/browse/MESOS-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15440229#comment-15440229 ]
ASF GitHub Bot commented on MESOS-6098: --------------------------------------- GitHub user bernadinm opened a pull request: https://github.com/apache/mesos/pull/162 Frameworks UI shows metrics for used resources plus offers https://issues.apache.org/jira/browse/MESOS-6098 When a framework is receiving many offers and it is denying them, the frameworks UI will show the metrics fluctuating for mem, cpu, gpu, and disk. From a mesos perspective, those offers are given to the framework until the framework declines them, so depending on the time the mesos UI gets updated, its has combined all the used resources and offers (that have not been accepted) to the framework and is reflected on the framework UI. If a framework does not implement suppressiveOffers(), it will continue to deny offers from mesos, which leads to the sporadic changes of metrics on the framework UI. From the operator's perspective, the user would expect to see used resources consumed by the framework. Any offered resources can be viewed instead by Mesos's Offers tab. cc: @kaysoky You can merge this pull request into a Git repository by running: $ git pull https://github.com/bernadinm/mesos master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/mesos/pull/162.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #162 ---- commit b4296aeaf0e219885e62490f98cf2aed976f7984 Author: Miguel Bernadin <miguel.berna...@gmail.com> Date: 2016-08-26T23:06:09Z update Mesos UI to reflect used resources commit b0bc9ce7f1c18bdc024c8bc5f16373cc1acb191f Author: Miguel Bernadin <miguel.berna...@gmail.com> Date: 2016-08-26T23:21:09Z Update Mesos UI to reflect used resources ---- > Frameworks UI shows metrics for used resources plus offers > ---------------------------------------------------------- > > Key: MESOS-6098 > URL: https://issues.apache.org/jira/browse/MESOS-6098 > Project: Mesos > Issue Type: Improvement > Components: webui > Affects Versions: 1.0.1 > Reporter: Miguel Bernadin > Assignee: Miguel Bernadin > Priority: Minor > > When a framework is receiving many offers and it is denying them, the > frameworks UI will show the metrics fluctuating for mem, cpu, gpu, and disk. > From a mesos perspective, those offers are given to the framework until the > framework declines them, so depending on the time the mesos UI gets updated, > its has combined all the used resources and offers (that have not been > accepted) to the framework and is reflected on the framework UI. If a > framework does not implement suppressiveOffers(), it will continue to deny > offers from mesos, which leads to the sporadic changes of metrics on the > framework UI. > From the operator's perspective, the user would expect to see used resources > consumed by the framework. Any offered resources can be viewed instead by > Mesos's Offers tab. -- This message was sent by Atlassian JIRA (v6.3.4#6332)