Commit 87920b5
[SPARK-49399] Add
### What changes were proposed in this pull request?
This adds example Spark applications spec for Spark scala image, and adds an example for pyspark
### Why are the changes needed?
As of now, [Spark docker images](https://hub.docker.com/_/spark) are built with types of all / python / scala / r. While existing examples cover usage of Python image, this PR sets up examples for another image(scala). As R is being deprecated, operator now serves example for Python / scala images to avoid confusion.
Main example uses default image [4.0.0-preview1-scala2.13-java17-python3-ubuntu, 4.0.0-preview1-python3, 4.0.0-preview1](https://github.com/apache/spark-docker/blob/b9f1f8e8ebed1959c2be3864a114b52f67519092/4.0.0-preview1/scala2.13-java17-python3-ubuntu/Dockerfile) which includes Python:
examples/pi-scala.yaml uses scala image : [4.0.0-preview1-scala2.13-java17-ubuntu, 4.0.0-preview1-scala](https://github.com/apache/spark-docker/blob/b9f1f8e8ebed1959c2be3864a114b52f67519092/4.0.0-preview1/scala2.13-java17-ubuntu/Dockerfile)
### Does this PR introduce _any_ user-facing change?
No - new release
### How was this patch tested?
CIs and integration tests
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#108 from jiangzho/docs.
Authored-by: zhou-jiang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>pi-scala.yaml and pyspark-pi.yaml
1 parent d663cc4 commit 87920b5
2 files changed
+64
-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 | + | |
| 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 | + | |
0 commit comments