Practical Apache Spark: Using the Scala API