Skip to content

Commit 5885215

Browse files
committed
[SPARK-52623] Add spark.ui.port to Spark History Server example
### What changes were proposed in this pull request? This PR aims to add `spark.ui.port` to `Spark History Server` example. ### Why are the changes needed? To add `18080` to the K8s Service entity. ### Does this PR introduce _any_ user-facing change? No, this is an example. ### How was this patch tested? Manual test. ``` $ kubectl get sparkapp NAME CURRENT STATE AGE spark-history-server RunningHealthy 8m53s $ kubectl get svc spark-history-server-0-driver-svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE spark-history-server-0-driver-svc ClusterIP None <none> 7078/TCP,7079/TCP,18080/TCP 8m55s ``` ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#264 from dongjoon-hyun/SPARK-52623. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 2021ff6 commit 5885215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/spark-history-server.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
spark.driver.memory: "2g"
2525
spark.kubernetes.authenticate.driver.serviceAccountName: "spark"
2626
spark.kubernetes.container.image: "apache/spark:4.0.0-java21-scala"
27+
spark.ui.port: "18080"
2728
spark.history.fs.logDirectory: "s3a://spark-events"
2829
spark.history.fs.cleaner.enabled: "true"
2930
spark.history.fs.cleaner.maxAge: "30d"

0 commit comments

Comments
 (0)