Skip to content

Commit

Permalink
Add order of precedence for spark-config script
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Dec 4, 2023
1 parent 72601cb commit 2927745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/pyspark-notebook/Dockerfile
Expand Up @@ -58,7 +58,7 @@ RUN if [ -z "${scala_version}" ]; then \
ln -s "spark-${APACHE_SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala${scala_version}" "${SPARK_HOME}"; \
fi && \
# Add a link in the before_notebook hook in order to source automatically PYTHONPATH && \
ln -s "${SPARK_HOME}/sbin/spark-config.sh" /usr/local/bin/before-notebook.d/spark-config.sh
ln -s "${SPARK_HOME}/sbin/spark-config.sh" /usr/local/bin/before-notebook.d/10spark-config.sh

# Configure IPython system-wide
COPY ipython_kernel_config.py "/etc/ipython/"
Expand Down

0 comments on commit 2927745

Please sign in to comment.