[SPARK-60837][DOCS] Document that NodeManagers must run on a supported Java version for the Spark Shuffle Service #60052
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.42) × (1 − Review Confidence (0.54)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 320 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 75% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.345
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #60052"
general
weight: 0.35
peter-toth
What changes were proposed in this pull request?
This PR adds a paragraph to the
Configuring the External Shuffle Servicesection ofdocs/running-on-yarn.md. It states that:NodeManagerJVM, so allNodeManagers must run on a supported version of Java, andNodeManager.The paragraph links the supported Java versions in
docs/index.mdinstead of naming a Java version, so the same text stays correct when the minimum Java version changes.Why are the changes needed?
spark-<version>-yarn-shuffle.jaris built fromcommon/network-yarn, which does not overridejava.version. So its classes target the minimum Java version of Apache Spark, which is Java 17 since Apache Spark 4.0.0. For example,YarnShuffleService.classhas the class file major version 61 in the 4.0.4, 4.1.3, 4.2.0, and 4.3.0 binary distributions. ANodeManageron an older Java cannot loadorg.apache.spark.network.yarn.YarnShuffleService.The guide explains how to use a different JDK for Spark applications when the YARN cluster runs an older Java (
Configuring different JDKs for Spark Applications). That setsJAVA_HOMEof the AM and the executors only, and does not help the shuffle service, which theNodeManagerloads as an auxiliary service. However, the guide has never mentioned the Java requirement of theNodeManagers. For example, the v4.0.0 (2025-05-19) guide saidApache Hadoop does not support Java 17 as of 3.4.1, while itsConfiguring the External Shuffle Servicesection had no Java requirement.This was raised in the review of #59897 (https://github.com/apache/spark/pull/59897#discussion_r4452535582), which makes Java 21 the minimum in Apache Spark 5.0.0. The documentation gap is independent of #59897 because it exists since Apache Spark 4.0.0.
Does this PR introduce _any_ user-facing change?
No. This is a documentation-only change.
How was this patch tested?
Manual review.
Downloadingsection ofindex.md, which lists the supported Java versions, and theConfiguring different JDKs for Spark Applicationssection, which the same page already links at the top.yarn/spark-<version>-yarn-shuffle.jarof the binary distributions.Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5.5