shangeyao opened a new issue, #4382: URL: https://github.com/apache/streampark/issues/4382
## Problem `SparkVersion` currently relies solely on `spark-submit --version`, which requires the Spark installation's JDK to be compatible with the Console JVM. This blocks registering Spark 4.x environments when Console runs on JDK 8. ## Proposed solution Adopt jar-first version detection (similar to Flink env registration improvements): - Parse version from `spark-core_*.jar` or `RELEASE` file under `SPARK_HOME` - Fall back to `spark-submit --version` only when jar parsing fails - Propagate Spark `JAVA_HOME` from `spark-env.sh` for job submission ## Scope - `SparkVersion.scala`, `SparkEnvUtils.scala` - `YarnClient.scala` (`setJavaHome`) - Tests and documentation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
