-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspark-defaults.conf
More file actions
28 lines (22 loc) · 1.14 KB
/
spark-defaults.conf
File metadata and controls
28 lines (22 loc) · 1.14 KB
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
# See: https://spark.apache.org/docs/latest/configuration.html
# Template for this configuration file is located at: $SPARK_HOME/conf/spark-defaults.conf.template
# Default system properties included when running spark-submit.
# This is useful for setting default environmental settings.
# Driver UI port
spark.ui.port 4040
# History server settings
spark.eventLog.enabled true
spark.eventLog.dir file:///var/spark-events/eventlog
spark.eventLog.compress true
spark.eventLog.logBlockUpdates.enabled true
spark.history.fs.logDirectory file:///var/spark-events/eventlog
# Enable client deploy-mode driver logging persistence in History Server
spark.driver.log.persistToDfs.enabled true
spark.driver.log.dfsDir file:///var/spark-events/driverLog
# Execution configurations
spark.serializer org.apache.spark.serializer.KryoSerializer
# Execution resources
spark.driver.cores 2
spark.driver.memory 2g
spark.executor.cores 3
spark.executor.memory 4g