Skip to content

Commit

Permalink
fix PYSPARK_PYTHON
Browse files Browse the repository at this point in the history
the symlink /opt/openeo -> /opt/venv is only available on k8s
  • Loading branch information
bossie committed Sep 27, 2024
1 parent cacf31b commit d67111d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docker/AlmaLinux/Dockerfile.almalinux8.5-spark-py-openeo
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ ENV SPARK_HOME /usr/local/spark
ENV JAVA_HOME /usr/lib/jvm/jre
ENV PYSPARK_PYTHON=python3
ENV PYTHONPLATLIBDIR=lib64
ENV PYSPARK_PYTHON=/opt/openeo/bin/python3.8
ENV HADOOP_HOME=/usr/hdp/current/hadoop-client
ENV HADOOP_CONF_DIR=/etc/hadoop/conf
ENV YARN_CONF_DIR=/etc/hadoop/conf
Expand Down
2 changes: 1 addition & 1 deletion docker/AlmaLinux/Dockerfile.openeo-base
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN curl --fail https://artifactory.vgt.vito.be/artifactory/libs-snapshot-public
unzip -o /opt/${OPENEO_ZIP} -d /opt/venv && \
rm -f /opt/${OPENEO_ZIP}

ENV PYSPARK_PYTHON=/opt/openeo/bin/python3
ENV PYSPARK_PYTHON=/opt/venv/bin/python3

0 comments on commit d67111d

Please sign in to comment.