Apache Spark sample