Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
88manpreet committed Aug 3, 2023
1 parent 87624ac commit 156ab0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service_configuration_lib/spark_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,10 @@ def get_spark_conf(
else:
raise UnsupportedClusterManagerException(cluster_manager)

# Enabling auto-decommission feature to move data around makes sense for only spot nodes
if 'batch' != paasta_pool and 'spark.decommission.enabled' in spark_conf:
spark_conf.update({'spark.decommission.enabled': 'false'})

# configure dynamic resource allocation configs
spark_conf = self.get_dra_configs(spark_conf)

Expand Down

0 comments on commit 156ab0e

Please sign in to comment.