GroupBy function using MapReduce Job