2010-06-11 17:55:23 -04:00
|
|
|
Spark requires Scala 2.8. This version has been tested with 2.8.0RC3.
|
2010-03-29 19:17:55 -04:00
|
|
|
|
|
|
|
To build and run Spark, you will need to have Scala's bin in your $PATH,
|
|
|
|
or you will need to set the SCALA_HOME environment variable to point
|
|
|
|
to where you've installed Scala. Scala must be accessible through one
|
|
|
|
of these methods on Nexus slave nodes as well as on the master.
|
|
|
|
|
|
|
|
To build Spark and the example programs, run make.
|
|
|
|
|
|
|
|
To run one of the examples, use ./run <class> <params>. For example,
|
|
|
|
./run SparkLR will run the Logistic Regression example. Each of the
|
|
|
|
example programs prints usage help if no params are given.
|
|
|
|
|
|
|
|
Tip: If you are building Spark and examples repeatedly, export USE_FSC=1
|
|
|
|
to have the Makefile use the fsc compiler daemon instead of scalac.
|