You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2016/06/08 23:43:16 UTC

mesos git commit: Fixed a webui bug when GPUs statistics are absent.

Repository: mesos
Updated Branches:
  refs/heads/master 1615fa0eb -> dfcf5c769


Fixed a webui bug when GPUs statistics are absent.

Review: https://reviews.apache.org/r/47719/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dfcf5c76
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dfcf5c76
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/dfcf5c76

Branch: refs/heads/master
Commit: dfcf5c76934b254466527cdaa67ef2264f7d0dc6
Parents: 1615fa0
Author: haosdent huang <ha...@gmail.com>
Authored: Wed Jun 8 16:42:37 2016 -0700
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Wed Jun 8 16:42:37 2016 -0700

----------------------------------------------------------------------
 src/webui/master/static/agent.html           | 2 ++
 src/webui/master/static/agent_framework.html | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dfcf5c76/src/webui/master/static/agent.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/agent.html b/src/webui/master/static/agent.html
index 2f40034..3d15d55 100644
--- a/src/webui/master/static/agent.html
+++ b/src/webui/master/static/agent.html
@@ -153,6 +153,8 @@
           <td>{{framework.name}}</td>
           <td>{{framework.num_tasks | number}}</td>
           <td>{{monitor.frameworks[framework.id].statistics.cpus_total_usage | number}} / {{framework.cpus | number}}</td>
+          <!-- TODO(haosdent): We need to show statistics for gpu once it is provided in monitor endpoint. -->
+          <td>N/A</td>
           <td>{{monitor.frameworks[framework.id].statistics.mem_rss_bytes | dataSize}} / {{framework.mem * (1024 * 1024) | dataSize}}</td>
           <td>{{monitor.frameworks[framework.id].statistics.disk_used_bytes | dataSize}} / {{framework.disk * (1024 * 1024) | dataSize}}</td>
         </tr>

http://git-wip-us.apache.org/repos/asf/mesos/blob/dfcf5c76/src/webui/master/static/agent_framework.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/agent_framework.html b/src/webui/master/static/agent_framework.html
index 4d61c14..806ab06 100644
--- a/src/webui/master/static/agent_framework.html
+++ b/src/webui/master/static/agent_framework.html
@@ -105,6 +105,8 @@
           <td>{{executor.queued_tasks.length | number}}</td>
           <td>{{monitor.frameworks[framework.id].executors[executor.id].statistics.cpus_total_usage | number}} /
               {{executor.resources.cpus | number}}</td>
+          <!-- TODO(haosdent): We need to show statistics for gpu once it is provided in monitor endpoint. -->
+          <td>N/A</td>
           <td>{{monitor.frameworks[framework.id].executors[executor.id].statistics.mem_rss_bytes | dataSize}} /
               {{executor.resources.mem * (1024 * 1024) | dataSize}}</td>
           <td>{{monitor.frameworks[framework.id].executors[executor.id].statistics.data_used_bytes | dataSize}} /