dongjoon-hyun opened a new pull request, #774: URL: https://github.com/apache/spark-kubernetes-operator/pull/774
### What changes were proposed in this pull request? This PR aims to replace the Scala-typed `labels()` override of `SparkAppDriverConf` with the Java-friendly `sparkVersion()` API which was introduced via SPARK-56736 in Apache Spark 4.2.0. Since `KubernetesDriverConf.labels()` builds its preset labels with `SPARK_VERSION_LABEL -> sparkVersion`, overriding `sparkVersion()` produces the same label map without using the Scala `scala.collection.immutable.Map` API. ### Why are the changes needed? To use Java-friendly APIs instead of Scala APIs. ### Does this PR introduce _any_ user-facing change? No. The generated driver labels are identical. The existing `testLabels` test passes without modification. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Fable 5 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
