From 24ffc63f9b96ce3334978d0162acaacdc96d9f3b Mon Sep 17 00:00:00 2001 From: Kousuke Saruta Date: Tue, 3 Mar 2026 00:57:42 +0900 Subject: [PATCH 1/2] Add a feature to SHS to support multiple log directories --- .../spark/ui/static/historypage-template.html | 13 + .../org/apache/spark/ui/static/historypage.js | 53 ++- .../deploy/history/FsHistoryProvider.scala | 341 ++++++++++++++---- .../spark/deploy/history/HistoryPage.scala | 16 +- .../spark/internal/config/History.scala | 11 +- .../org/apache/spark/status/api/v1/api.scala | 4 +- .../history/FsHistoryProviderSuite.scala | 223 +++++++++++- 7 files changed, 578 insertions(+), 83 deletions(-) diff --git a/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html b/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html index a780459fee1f4..0f1ff9cd0c640 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html +++ b/core/src/main/resources/org/apache/spark/ui/static/historypage-template.html @@ -16,6 +16,14 @@ -->