The Spark example code.