Joining two datasets using MapReduce