Last active
January 24, 2020 18:02
-
-
Save aneeshpanoli/6c0a1185ad355ca3a0fae97254f172d4 to your computer and use it in GitHub Desktop.
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
def set_conf(): | |
conf = SparkConf().setAppName("App") | |
conf = (conf.setMaster('local[*]') | |
.set('spark.executor.memory', '4G') | |
.set('spark.driver.memory', '16G') | |
.set('spark.driver.maxResultSize', '8G')) | |
return conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment