This repository was archived by the owner on Oct 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathspark-defaults.conf
More file actions
40 lines (29 loc) · 1.54 KB
/
spark-defaults.conf
File metadata and controls
40 lines (29 loc) · 1.54 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
29
30
31
32
33
34
35
36
37
38
39
# Default system properties included when running spark-submit.
# This is useful for setting default environmental settings.
# Example:
# spark.master spark://lmfdb-ib:7077
spark.master spark://137.205.56.254:7077
# spark.eventLog.dir hdfs://namenode:8021/directory
spark.serializer org.apache.spark.serializer.KryoSerializer
# spark.executor.extraJavaOptions -XX:+PrintGCDetails -Dkey=value -Dnumbers="one two three"
# spark.default.parallelism 64
spark.scheduler.mode FAIR
spark.speculation true
spark.localExecution.enabled true
spark.rdd.compress true
spark.executor.logs.rolling.strategy time
spark.executor.logs.rolling.maxRetainedFiles 100
spark.logConf true
spark.executor.memory 4g
spark.driver.memory 4g
spark.driver.maxResultSize 2g
spark.driver.cores 2
spark.serializer org.apache.spark.serializer.KryoSerializer
spark.eventLog.enabled true
spark.eventLog.dir /home/spark/history/
spark.history.fs.logDirectory /home/spark/history/
spark.history.fs.cleaner.enabled true
spark.history.fs.cleaner.maxAge 30d
spark.history.retainedApplications 100
spark.driver.extraClassPath /mnt/data/spark/extralibs/mongo-hadoop-core-1.4.0.jar:/mnt/data/spark/extralibs/mongo-java-driver-3.0.2.jar
spark.executor.extraClassPath /mnt/data/spark/extralibs/mongo-hadoop-core-1.4.0.jar:/mnt/data/spark/extralibs/mongo-java-driver-3.0.2.jar