Skip to content

Commit d9eb2c7

Browse files
committed
attempt to fix dag
1 parent f364191 commit d9eb2c7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

demos/argo-cd/manifests/spark-k8s/pyspark_pi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
spec:
77
version: "1.0"
88
sparkImage:
9-
productVersion: 3.5.2
9+
productVersion: 3.5.6
1010
mode: cluster
1111
mainApplicationFile: local:///stackable/spark/examples/src/main/python/pi.py
1212
job:

stacks/airflow/airflow.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ data:
238238
raise AirflowException(f"Exception when loading resource definition: {e}\n")
239239
return body_dict
240240
241-
yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), 'pyspark_pi.yaml')
241+
yaml_path = os.path.join(os.environ.get('AIRFLOW__CORE__DAGS_FOLDER'), '../manifests/spark-k8s/pyspark_pi.yaml')
242242
243243
with open(yaml_path, 'r') as file:
244244
crd = file.read()
@@ -303,6 +303,8 @@ data:
303303
memory:
304304
limit: 1024Mi
305305
replicas: 3
306+
307+
306308
# {% endraw %}
307309
---
308310
apiVersion: v1

0 commit comments

Comments
 (0)