Skip to content

Commit

Permalink
updated spark configuration
Browse files Browse the repository at this point in the history
Updated Spark configuration to output history to a directory on QFS
  • Loading branch information
michaelkamprath committed Dec 31, 2019
1 parent d1c1eae commit 3d01a68
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions spark-qfs-swarm/worker-node/spark-conf/spark-defaults.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# performance optimizations
spark.serializer org.apache.spark.serializer.KryoSerializer
spark.serializer org.apache.spark.serializer.KryoSerializer
spark.default.parallelism 100

# worker node / executor set up
Expand All @@ -8,12 +8,18 @@ spark.executor.memory 24g
spark.executor.cores 6

# driver configurations
spark.driver.memory 8g
spark.driver.cores 2
spark.driver.memory 8g
spark.driver.cores 2

# operational configurations
spark.logConf true
spark.logConf true

# This setting is to tell the class loaders in Spark that they
# only need to load the QFS access libraries once
spark.sql.hive.metastore.sharedPrefixes com.quantcast.qfs

# Set up retention of Spark events to enable the history server.
# The configured directory needs to be created prior to launching
# Spark master.
spark.eventLog.enabled true
spark.eventLog.dir qfs:///history/spark/

0 comments on commit 3d01a68

Please sign in to comment.