Skip to content

Commit

Permalink
Increase spark memory
Browse files Browse the repository at this point in the history
  • Loading branch information
nikodemas committed Jul 16, 2024
1 parent 7b0c51b commit bba8fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpueff-goweb/spark/cron4cpueff_goweb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function run_spark() {
--conf spark.shuffle.useOldFetchProtocol=true
--conf "spark.driver.bindAddress=0.0.0.0" --conf "spark.driver.host=${K8SHOST}"
--conf "spark.driver.port=${PORT1}" --conf "spark.driver.blockManager.port=${PORT2}"
--driver-memory=8g --executor-memory=8g --packages org.apache.spark:spark-avro_2.12:3.4.0
--driver-memory=16g --executor-memory=16g --packages org.apache.spark:spark-avro_2.12:3.4.0
)

py_input_args=(--hdfs_out_dir "$hdfs_out_dir" --start_date "$start_date" --end_date "$end_date")
Expand Down

0 comments on commit bba8fa3

Please sign in to comment.