Skip to content

Instantly share code, notes, and snippets.

@kmader
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmader/3394153de1154cb18475 to your computer and use it in GitHub Desktop.
Save kmader/3394153de1154cb18475 to your computer and use it in GitHub Desktop.
Manually Install spark-repl_2.10 for 1.2.0 without building

spark-repl 1.2 is missing

The repl was not included in the maven repositories which breaks the build for a number of other projects. There are two easy solutions for getting around this until it gets included in the next updates.

Install precompiled version

Take the jar file from this gist (click the download gist button) and run the following command in the terminal with it to include it in your local maven repository (~/.m2)

mvn install:install-file -Dfile=spark-repl_2.10-1.2.0.jar -DgroupId=org.apache.spark -DartifactId=spark-repl_2.10 -Dversion=1.2.0 -Dpackaging=jar

Build just REPL

git clone -b v1.2.0 https://github.com/apache/spark.git
cd spark/repl
cp ../scalastyle-config.xml ./
mvn install -DskipTests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment