Skip to content

Commit 9230365

Browse files
authored
feat: Get rid of custom image for lakehouse Spark job (#28)
* feat: Get rid of custom image for lakehouse Spark job * Remove demos/data-lakehouse-iceberg-trino-spark/Dockerfile
1 parent b1b0933 commit 9230365

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

demos/data-lakehouse-iceberg-trino-spark/Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

demos/data-lakehouse-iceberg-trino-spark/create-spark-ingestion-job.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,16 @@ data:
4444
spec:
4545
version: "1.0"
4646
sparkImage:
47-
custom: docker.stackable.tech/demos/pyspark-k8s-with-kafka-and-iceberg:3.3.0-stackable0.2.0
48-
productVersion: 3.3.0
47+
productVersion: 3.5.0
4948
mode: cluster
5049
mainApplicationFile: local:///stackable/spark/jobs/spark-ingest-into-lakehouse.py
51-
# deps:
52-
# packages:
53-
# - org.apache.iceberg:iceberg-spark-runtime-3.3_2.12:1.1.0
54-
# - org.apache.spark:spark-sql-kafka-0-10_2.12:3.3.0
50+
deps:
51+
packages:
52+
- org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.5.0
53+
- org.apache.spark:spark-sql-kafka-0-10_2.12:3.5.0
5554
s3connection:
5655
reference: minio
5756
sparkConf:
58-
spark.kubernetes.container.image.pullPolicy: Always
5957
spark.sql.extensions: org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions
6058
spark.sql.catalog.lakehouse: org.apache.iceberg.spark.SparkCatalog
6159
spark.sql.catalog.lakehouse.type: hive
@@ -66,6 +64,10 @@ data:
6664
6765
# As of 2023-10-31 the operator does not set this
6866
spark.executor.cores: "4"
67+
68+
# AFAIK This can be removed in 24.3
69+
spark.driver.userClassPathFirst: "false"
70+
spark.executor.userClassPathFirst: "false"
6971
volumes:
7072
- name: script
7173
configMap:

0 commit comments

Comments
 (0)