-
Notifications
You must be signed in to change notification settings - Fork 0
/
spark-defaults.conf
20 lines (20 loc) · 1.05 KB
/
spark-defaults.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
spark.master yarn
spark.submit.deployMode cluster
spark.driver.memory 2g
spark.executor.memory 3g
spark.io.compression.codec snappy
spark.network.timeout 600
spark.cleaner.referenceTracking false
spark.yarn.max.executor.failures 1000
spark.driver.extraLibraryPath /usr/local/hadoop/lib/native
spark.driver.extraClassPath /usr/local/hadoop/lib/hadoop-lzo.jar
spark.jars /usr/local/hadoop/lib/hadoop-lzo.jar
spark.executor.extraLibraryPath /usr/local/hadoop/lib/native
spark.default.parallelism 100
spark.eventLog.enabled true
spark.eventLog.dir hdfs://dev/apps/extract/spark/logs
spark.debug.maxToStringFields 200
spark.yarn.access.namenodes hdfs://dev,hdfs://hbase
spark.yarn.jars hdfs://dev/apps/spark/2.2.0/*
spark.jars.repositories http://maven.corp.factual.com/nexus/content/repositories/snapshots/,http://maven.corp.factual.com/nexus/content/repositories/releases/
spark.shuffle.service.enabled true