Commit 2909628
committed
[SPARK-52304] Add
### What changes were proposed in this pull request?
This PR aims to add `pi-with-driver-timeout` example.
### Why are the changes needed?
`spark.driver.timeout` with `DriverTimeoutPlugin` is a new feature of Apache Spark 4.0.0 in order to guarantee the maximum run time of the jobs in the best effort approach.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual test the example (timeout: 1minutes)
```
$ kubectl apply -f examples/pi-with-driver-timeout.yaml
$ kubectl get sparkapp
NAME CURRENT STATE AGE
pi-with-driver-timeout TerminatedWithoutReleaseResources 2m59s
```
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#228 from dongjoon-hyun/SPARK-52304.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>pi-with-driver-timeout example1 parent 38c2deb commit 2909628
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments