From 386c39cd84315bff330d0627709b80b9f2b79de8 Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Fri, 27 Apr 2018 15:36:21 +0800 Subject: [PATCH] YARN-8152. Add chart in SLS to illustrate the throughput of the scheduler. Contributed by Tao Yang. --- .../src/main/html/simulate.html.template | 24 ++++--- .../sls/scheduler/SLSCapacityScheduler.java | 29 ++++++++ .../yarn/sls/scheduler/SchedulerMetrics.java | 42 +++++++++++ .../apache/hadoop/yarn/sls/web/SLSWebApp.java | 70 ++++++++++++++++++- 4 files changed, 155 insertions(+), 10 deletions(-) diff --git a/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template b/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template index 1b897134f1f..c8590b0d685 100644 --- a/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template +++ b/hadoop-tools/hadoop-sls/src/main/html/simulate.html.template @@ -36,19 +36,19 @@
-
+
-
+
-
+
-
+