dongjoon-hyun opened a new pull request, #58671: URL: https://github.com/apache/spark/pull/58671
### What changes were proposed in this pull request? This PR aims to upgrade `kubernetes-client` to 7.9.0 and `vertx` to 4.5.31 for Apache Spark 5.0.0. `vertx` is upgraded together because `kubernetes-client` 7.9.0 uses Vert.x 4.5.31 (2026-07-20) for its `kubernetes-httpclient-vertx` module, keeping Spark's pinned version consistent with the version managed by `kubernetes-client-bom`. In addition, `kubernetes-client` 7.9.0 adds Kubernetes v1.37.0 fields to two model classes, which changes their canonical constructor signatures: - `EmptyDirVolumeSource` gains `mode`: `(String, Quantity)` -> `(String, Integer, Quantity)` - `KeyToPath` gains `user`: `(String, Integer, String)` -> `(String, Integer, String, Long)` The three affected call sites are switched from the positional constructors to the corresponding fluent builders, which is already the prevailing style elsewhere in the module (e.g. `HadoopConfDriverFeatureStep` and `KerberosConfDriverFeatureStep` already use `KeyToPathBuilder`) and is not sensitive to future field additions. ### Why are the changes needed? `v7.9.0` is the first release to support K8s 1.37 (Garhwal) officially, and it brings bug fixes. - https://github.com/fabric8io/kubernetes-client/releases/tag/v7.9.0 (2026-09-04) - https://github.com/fabric8io/kubernetes-client/issues/7752 - https://github.com/fabric8io/kubernetes-client/issues/8024 - https://github.com/fabric8io/kubernetes-client/issues/8029 - https://github.com/fabric8io/kubernetes-client/issues/7955 - https://github.com/fabric8io/kubernetes-client/issues/7983 ### Does this PR introduce _any_ user-facing change? No. The builder migration produces the same `EmptyDirVolumeSource` and `KeyToPath` objects as before; the newly added `mode` and `user` fields are left unset. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 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]
