score:0

Accepted answer

You may have downloaded a source release rather than a pre-built?

To build and assemble with sbt, you can run sbt assembly in the spark root directory.

score:0

Your installation directory is /usr/local/spark, which doesn't contain the required class.

Try just extract the downloaded tgz file from http://spark.apache.org/downloads.html. Cd to the directory and run the example command.

Make sure that you have lib/spark-examples-XXX-YYY.jar when you run bin/run-example


Related Query

More Query from same tag