Awesome
spark
This repository contains example code for playing around with Apache Spark. Each subdirectory has a number associated and demos a simple concept using scala code.
For running this I am using the following simple trick:
- Copy
sbt/sbt
,sbt/sbt-launch-0.13.1.jar
andsbt/sbt-launch-lib.bash
from the spark source tree into~/bin/
- In
~/bin/sbt-launch-lib.bash
change the lineJAR=sbt/sbt-launch-${SBT_VERSION}.jar
toJAR=~/bin/sbt-launch-${SBT_VERSION}.jar
- Go into a numbered directory and do
~/bin/sbt package run
Note: Without the project/build.properties, sbt tries to download the sbt-launch*.jar file.