From 54f9fff218e548cca3a8f08d56df00ed59ae4262 Mon Sep 17 00:00:00 2001 From: Szilard Nemeth Date: Thu, 29 Jul 2021 13:43:40 +0200 Subject: [PATCH] YARN-10628. Add node usage metrics in SLS. Contributed by Vadaga Ananyo Rao --- .../src/main/html/showSimulationTrace.html | 21 ++++++ .../src/main/html/simulate.html.template | 28 +++++++- .../yarn/sls/scheduler/SchedulerMetrics.java | 47 +++++++++++++ .../yarn/sls/utils/NodeUsageRanges.java | 68 +++++++++++++++++++ .../hadoop/yarn/sls/utils/package-info.java | 21 ++++++ .../apache/hadoop/yarn/sls/web/SLSWebApp.java | 33 +++++++++ 6 files changed, 215 insertions(+), 3 deletions(-) create mode 100644 hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/utils/NodeUsageRanges.java create mode 100644 hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/utils/package-info.java diff --git a/hadoop-tools/hadoop-sls/src/main/html/showSimulationTrace.html b/hadoop-tools/hadoop-sls/src/main/html/showSimulationTrace.html index 102fdcf35ee..e5dbc037505 100644 --- a/hadoop-tools/hadoop-sls/src/main/html/showSimulationTrace.html +++ b/hadoop-tools/hadoop-sls/src/main/html/showSimulationTrace.html @@ -100,6 +100,10 @@
+
+
+
+