I am trying to set the spark.driver.maxResultSize in my pyspark job. I tried setting the conf setting inside my pyspark script like so:
spark.conf.set("spark.driver.maxResultSize", "4g")
But in my Spark environment it still shows the default 2G
I tried setting it in my AWS EMR spark-submit options with both --spark.driver.maxResultSize 4g
and --conf spark.driver.maxResultSize 4g
I get unrecongnized option as an error.
Am I missing the correct syntax?
我猜语法是--conf spark.driver.maxResultSize=4g
而不是--conf spark.driver.maxResultSize 4g
这似乎有效并且在 Spark 环境中正确显示。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.