Examples for Spark-1.0