Skip to content

Commit

Permalink
fix(spark2|3): set yarn cluster mode by default for better resiliency
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdibn authored and rpignolet committed Oct 27, 2023
1 parent deb2e0c commit dd5143f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tdp_vars_defaults/spark/spark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ spark_defaults_client:
list |
join(',') }}
spark.sql.hive.metastore.jars.path: /opt/tdp/hive/lib/
spark.submit.deployMode: cluster
# Default number of executors
spark.executor.instances: 2
# Default spark AM allocated vcores
Expand Down
1 change: 1 addition & 0 deletions tdp_vars_defaults/spark3/spark3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ spark_defaults_client:
list |
join(',') }}
spark.sql.hive.metastore.jars.path: /opt/tdp/hive/lib/
spark.submit.deployMode: cluster
# Default number of executors
spark.executor.instances: 2
# Default spark AM allocated vcores
Expand Down

0 comments on commit dd5143f

Please sign in to comment.