Skip to content

Commit 73db6cd

Browse files
committed
feat(helm/spark-yotpo/values.yaml): added default spark history server logs
1 parent 5a0e2cc commit 73db6cd

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

helm/spark-yotpo/templates/sparkapplication.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ spec:
4646
{{- end }}
4747
{{- end }}
4848
{{- end }}
49+
{{- if .Values.historyServer.enabled }}
50+
{{- range $conf, $value := .Values.historyServer.conf }}
51+
{{ $conf | quote }}: {{ $value | quote }}
52+
{{- end }}
53+
{{- end }}
4954
{{- if .Values.hadoopConf }}
5055
hadoopConf:
5156
{{- range $conf, $value := .Values.hadoopConf }}

helm/spark-yotpo/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ sparkConf:
3434
spark.serializer: org.apache.spark.serializer.KryoSerializer
3535
spark.sql.hive.convertMetastoreParquet: false
3636
spark.sql.legacy.allowCreatingManagedTableUsingNonemptyLocation: true
37+
historyServer:
38+
enabled: false
39+
conf:
40+
spark.eventLog.enabled: true
41+
spark.eventLog.dir: s3://event-log-bucket
42+
spark.hadoop.fs.s3a.access.key: ${AWS_ACCESS_KEY_ID}
43+
spark.hadoop.fs.s3a.secret.key: ${AWS_SECRET_ACCESS_KEY}
3744
hiveMetaStore:
3845
enabled: false
3946
conf:

0 commit comments

Comments
 (0)