Tweaking apache spark tutorial stuff.