File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- layout pyenv 3.9.0
2- use sdk java 11.0.9.hs-adpt
3- export VBOXMANAGE=/Applications/VirtualBox.app/Contents/MacOS
4- export SPARK_HOME=$( pwd) /.spark
5- export PATH=$SPARK_HOME /bin:$VBOXMANAGE :$PATH
1+ layout pyenv 3.9.2
2+ 3+ export SPARK_HOME=" $( pwd) /.spark"
4+ PATH_add " $SPARK_HOME /bin"
65export PYSPARK_PYTHON=python3
6+
Original file line number Diff line number Diff line change 1- 3.9.0
1+ 3.9.2
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ RUN apt-get update && \
66 apt-get install -y --no-install-recommends python3-software-properties python3-numpy curl && \
77 rm -rf /var/lib/apt/lists/*
88
9- ARG SPARK_VERSION=3.0.1
9+ ARG SPARK_VERSION=3.1.2
1010ENV SPARK_HOME=/opt/spark
11- RUN mkdir -p /opt/spark && curl -s https://downloads.apache.org/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop2.7 .tgz | tar -xz -C "${SPARK_HOME}" --strip-components=1
11+ RUN mkdir -p /opt/spark && curl -s https://downloads.apache.org/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop3.2 .tgz | tar -xz -C "${SPARK_HOME}" --strip-components=1
1212ENV PATH=$SPARK_HOME/bin:$SPARK_HOME/sbin:$PATH
1313
1414RUN cp "${SPARK_HOME}/conf/log4j.properties.template" "${SPARK_HOME}/conf/log4j.properties" && \
Original file line number Diff line number Diff line change 1- SPARK_VERSION: =3.0.1
2- COURSE_VERSION: =2020.12
1+ SPARK_VERSION: =3.1.2
2+ COURSE_VERSION: =2021.10
33IMAGE_NAME: =luisbelloch/spark
44
55.PHONY : help
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -euo pipefail
3- SPARK_URL=${SPARK_URL:- https:// downloads.apache.org/ spark/ spark-3.0.1 / spark-3.0.1 -bin-hadoop2.7 .tgz}
3+ SPARK_URL=${SPARK_URL:- https:// downloads.apache.org/ spark/ spark-3.1.2 / spark-3.1.2 -bin-hadoop3.2 .tgz}
44SPARK_PKG=${SPARK_URL##*/ }
55SPARK_HOME=${SPARK_HOME:- $(pwd)/ .spark}
66
Original file line number Diff line number Diff line change 22- hosts : all
33 vars :
44 spark_home : /opt/spark
5- spark_pkg_name : spark-3.0.1 -bin-hadoop2.7
6- spark_pkg_url : https://downloads.apache.org/spark/spark-3.0.1 /spark-3.0.1 -bin-hadoop2.7 .tgz
5+ spark_pkg_name : spark-3.1.2 -bin-hadoop3.2
6+ spark_pkg_url : https://downloads.apache.org/spark/spark-3.1.2 /spark-3.1.2 -bin-hadoop3.2 .tgz
77
88 tasks :
99 - name : Update all packages to the latest version
You can’t perform that action at this time.
0 commit comments