An article from jgp:

Here is your very first Apache Spark program using Java: the equivalent of the Kernighan and Ritchie’s “Hello, World”. You can download it from GitHub: Basically, the key is to […]

Read the whole article on Jean Georges Perrin’s blog: Your Very First Apache Spark Application. Enjoy!