(For more background about Spark, read this post.) In this how-to, you'll learn how to write, compile, and run a simple Spark program written in Scala on CDH 5 (in which Spark ships and is supported by Cloudera).

Via Sung-Soo Kim