Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ data:
stackable.tech/vendor: Stackable
spec:
sparkImage:
productVersion: 3.5.6
productVersion: 4.0.1
mode: cluster
mainApplicationFile: local:///stackable/spark/jobs/spark-ingest-into-lakehouse.py
deps:
packages:
- org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.8.1
- org.apache.spark:spark-sql-kafka-0-10_2.12:3.5.6
- org.apache.iceberg:iceberg-spark-runtime-4.0_2.13:1.10.0
- org.apache.spark:spark-sql-kafka-0-10_2.13:4.0.1
s3connection:
reference: minio
sparkConf:
Expand Down
4 changes: 2 additions & 2 deletions demos/end-to-end-security/create-spark-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ data:
name: spark-report
spec:
sparkImage:
productVersion: 3.5.6
productVersion: 4.0.1
mode: cluster
mainApplicationFile: local:///stackable/spark/jobs/spark-report.py
deps:
packages:
- org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.8.1
- org.apache.iceberg:iceberg-spark-runtime-4.0_2.13:1.10.0
sparkConf:
spark.driver.extraClassPath: /stackable/config/hdfs
spark.executor.extraClassPath: /stackable/config/hdfs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ spec:
- name: wait-for-testdata
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command:
- bash
- -euo
- pipefail
- -c
- |
- bash
- -euo
- pipefail
- -c
- |
echo 'Waiting for job load-ny-taxi-data to finish'
kubectl wait --for=condition=complete --timeout=30m job/load-ny-taxi-data
containers:
- name: create-spark-anomaly-detection-job
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command:
- bash
- -euo
- pipefail
- -c
- |
- bash
- -euo
- pipefail
- -c
- |
echo 'Submitting Spark job'
kubectl apply -f /tmp/manifest/spark-ad-job.yaml
volumeMounts:
Expand All @@ -51,12 +51,12 @@ data:
name: spark-ad
spec:
sparkImage:
productVersion: 3.5.6
productVersion: 4.0.1
mode: cluster
mainApplicationFile: local:///spark-scripts/spark-ad.py
deps:
packages:
- org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.8.1
- org.apache.iceberg:iceberg-spark-runtime-4.0_2.13:1.10.1
requirements:
- scikit-learn==1.4.0
s3connection:
Expand Down
4 changes: 3 additions & 1 deletion stacks/airflow/airflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ data:
spec:
version: "1.0"
sparkImage:
productVersion: 3.5.6
productVersion: 4.0.1
mode: cluster
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
job:
Expand Down Expand Up @@ -331,6 +331,8 @@ data:
memory:
limit: 1024Mi
replicas: 3


# {% endraw %}
---
apiVersion: v1
Expand Down
10 changes: 7 additions & 3 deletions stacks/jupyterhub-pyspark-hdfs/jupyterlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
serviceAccountName: default
containers:
- name: jupyterlab
image: oci.stackable.tech/stackable/spark-connect-client:3.5.6-stackable0.0.0-dev
image: oci.stackable.tech/stackable/spark-connect-client:4.0.1-stackable0.0.0-dev
imagePullPolicy: IfNotPresent
command:
- bash
Expand All @@ -39,8 +39,12 @@ spec:
name: notebook
initContainers:
- name: download-notebook
image: oci.stackable.tech/stackable/spark-connect-client:3.5.6-stackable0.0.0-dev
command: ['sh', '-c', 'curl https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb -o /notebook/notebook.ipynb']
image: oci.stackable.tech/stackable/spark-connect-client:4.0.1-stackable0.0.0-dev
command:
- bash
args:
- -c
- curl https://raw.githubusercontent.com/stackabletech/demos/main/stacks/jupyterhub-pyspark-hdfs/notebook.ipynb -o /notebook/notebook.ipynb
volumeMounts:
- mountPath: /notebook
name: notebook
Expand Down
2 changes: 1 addition & 1 deletion stacks/jupyterhub-pyspark-hdfs/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"#\n",
"# See: https://issues.apache.org/jira/browse/SPARK-46032\n",
"#\n",
"spark.addArtifacts(\"/stackable/spark/connect/spark-connect_2.12-3.5.6.jar\")"
"spark.addArtifacts(\"/stackable/spark/connect/spark-connect-4.0.1.jar\")"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions stacks/jupyterhub-pyspark-hdfs/spark_connect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ spec:
image:
# Using an image that includes scikit-learn (among other things)
# because this package needs to be available on the executors.
custom: oci.stackable.tech/stackable/spark-connect-client:3.5.6-stackable0.0.0-dev
productVersion: 3.5.6
custom: oci.stackable.tech/stackable/spark-connect-client:4.0.1-stackable0.0.0-dev
productVersion: 4.0.1
pullPolicy: IfNotPresent
args:
server:
Expand Down