Created
August 26, 2016 21:30
-
-
Save vpipkt/b00d9696867910e65c2132d365438414 to your computer and use it in GitHub Desktop.
build tar.gz binaries for distribution of Spark 1.5.0 for Scala 2.11 ... for yarn
This file contains 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
#!/usr/bin/env | |
git clone git@github.com:apache/spark | |
pushd spark | |
git checkout v1.5.0 | |
./dev/change-scala-version 2.11 | |
./make-distribution.sh --name scala_2.11-without-hadoop --tgz -Phadoop-provided -Dscala-2.11 -Pyarn -DskipTests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
don't forget to
export SPARK_DIST_CLASSPATH=$(hadoop classpath)
in theconf/spark-env.sh