Last active
November 19, 2019 07:20
-
-
Save rafaelfelix/8758d2dc1d8ceb3917863d94698105f0 to your computer and use it in GitHub Desktop.
spark-on-k8s-download-and-untar-spark.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MIRROR=archive.apache.org | |
SPARK_VERSION=2.4.4 | |
SPARK_VERSION_SUFFIX=-bin-hadoop2.7 | |
curl -Lo spark.tgz https://${MIRROR}/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}${SPARK_VERSION_SUFFIX}.tgz && \ | |
tar xvzf spark.tgz && mv spark-${SPARK_VERSION}${SPARK_VERSION_SUFFIX} spark | |
export SPARK_HOME=$(pwd)/spark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment