An article from jgp:

Here are a few quick recipes to solve some common issues with Apache Spark. All examples are based on Java 8 (although I do not use consciously any of the […]

Read the whole article on Jean Georges Perrin’s blog: Spark Java Recipes. Enjoy!