Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49447][K8S] Fix
spark.kubernetes.allocation.batch.delay
to p…
…revent small values less than 100 ### What changes were proposed in this pull request? This PR aims to fix `spark.kubernetes.allocation.batch.delay` to prevent small values less than 100 from Apache Spark 4.0.0. ### Why are the changes needed? The default value is `1s` (=1000). Usually, a small value like `1` happens due to the missing unit, `s`, when users do mistakes. We had better prevent this. In addition, a misconfigured value like `1` can cause a high frequency traffic from Spark drivers to K8s control plan accidentally. ### Does this PR introduce _any_ user-facing change? For the misconfigured values, Spark will complain and fail from Apache Spark 4.0.0. ### How was this patch tested? Pass the CIs with the newly added test case. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#47913 from dongjoon-hyun/SPARK-49447. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
- Loading branch information