File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 88 - auto_accounts
99 - jupyterlab_switch
1010 - spark_version
11+ - auto_modules_python
1112 - bc_num_hours
1213 - bc_num_slots
1314 - node_type
1819 - bc_email_on_started
1920 - version
2021attributes :
22+ auto_modules_python :
23+ default : false
24+ help : |
25+ Specify the Python version to match the one used in your Conda environment.
26+ This ensures compatibility when setting up the Spark cluster and helps prevent issues related
27+ to Python version mismatches.
2128 bc_num_slots :
2229 min : 1
2330 num_workers :
Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ module purge
138138# Load the runtime environment
139139runtime_env() {
140140 module purge
141- <%- if context . cluster == 'pitzer' -%>
141+ <%- if [ 'pitzer' ] . include? ( context . cluster ) -%>
142142 module load python/3.6-conda5.2 spark/<%= context . spark_version %>
143143 <%- else -%>
144- module load python/3.12 spark/<%= context . spark_version %>
144+ module load <%= context . auto_modules_python %> spark/<%= context . spark_version %>
145145 <%- end -%>
146146
147147 # Disable randomized hash for string in Python 3.3+
You can’t perform that action at this time.
0 commit comments