-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a319cb
commit 882c37a
Showing
4 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 18 additions & 18 deletions
36
spark-qfs-swarm/worker-node/spark-conf/spark-defaults.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
# performance optimizations | ||
spark.serializer org.apache.spark.serializer.KryoSerializer | ||
spark.default.parallelism 100 | ||
spark.serializer org.apache.spark.serializer.KryoSerializer | ||
spark.default.parallelism 100 | ||
|
||
# worker node / executor set up | ||
# expecting a worker with 10 cores and 56g of memory | ||
spark.executor.memory 26g | ||
spark.executor.cores 6 | ||
# expecting a worker with 12 cores and 56g of memory | ||
spark.executor.memory 25g | ||
spark.executor.cores 6 | ||
|
||
# driver configurations | ||
spark.driver.memory 6g | ||
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 | ||
# 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-event/ | ||
spark.history.fs.logDirectory qfs:///history/spark-event/ | ||
spark.history.fs.cleaner.maxAge 30d | ||
spark.eventLog.enabled true | ||
spark.eventLog.dir qfs:///history/spark-event/ | ||
spark.history.fs.logDirectory qfs:///history/spark-event/ | ||
spark.history.fs.cleaner.maxAge 30d | ||
|
||
# Configure QFS here rather than in core-site.xml | ||
spark.hadoop.fs.qfs.impl com.quantcast.qfs.hadoop.QuantcastFileSystem | ||
spark.hadoop.fs.defaultFS qfs://qfs-master:20000 | ||
spark.hadoop.fs.qfs.metaServerHost qfs-master | ||
spark.hadoop.fs.qfs.metaServerPort 20000 | ||
spark.hadoop.fs.qfs.impl com.quantcast.qfs.hadoop.QuantcastFileSystem | ||
spark.hadoop.fs.defaultFS qfs://qfs-master:20000 | ||
spark.hadoop.fs.qfs.metaServerHost qfs-master | ||
spark.hadoop.fs.qfs.metaServerPort 20000 | ||
|
||
# this spark.hadoop.fs.qfs.createParams configure causes files written by Sark to | ||
# QFS to be 2x replicated rather than using Reed-Solomon encoding. If you have at | ||
# least 9 chunkservers, remove this configuration to instead use Reed-Solomon encoding. | ||
spark.hadoop.fs.qfs.createParams 2 | ||
spark.hadoop.fs.qfs.createParams 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters