From ba2db39c655600d00d2d3d3951e0c780f4d6f622 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 1b897134f1..c8590b0d68 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 @@
-
+
-
+
-
+
-
+