From 59c1f17721b3fd7cdfc325b3a8b323c6ecc0b479 Mon Sep 17 00:00:00 2001 From: Kousuke Saruta Date: Thu, 13 Aug 2026 16:43:33 +0900 Subject: [PATCH 1/9] Revert "[SPARK-58504][CORE] Simplify FileTokenIngestor cache and detect rotation by content" This reverts commit b7d480b53e429556d8b68d7063eb6884cf00450c. --- .../spark/security/FileTokenIngestor.java | 37 +++++++++---------- .../apache/spark/security/TokenIngestor.java | 5 +-- .../security/FileTokenIngestorSuite.java | 20 ---------- 3 files changed, 18 insertions(+), 44 deletions(-) diff --git a/core/src/main/java/org/apache/spark/security/FileTokenIngestor.java b/core/src/main/java/org/apache/spark/security/FileTokenIngestor.java index b51dcc7f0b43e..f99e957ad6e73 100644 --- a/core/src/main/java/org/apache/spark/security/FileTokenIngestor.java +++ b/core/src/main/java/org/apache/spark/security/FileTokenIngestor.java @@ -36,13 +36,13 @@ /** * A {@link TokenIngestor} that reads an OIDC identity token from a file. *

- * The file path typically points to a Kubernetes projected service account token + * The file path is typically a Kubernetes projected service account token * (e.g., {@code /var/run/secrets/tokens/spark-identity}) or a path configured via * {@code spark.security.oidc.identityToken.file}. *

* This implementation: *