Initial commit of WIP PR for terasort benchmark.

As discussed on list, this is a WIP for Spark Terasort.