example source code for Big Data book (www.manning.com/marz)