Grouping, Aggregating and Joining with Spark - bepec.in