the temporal first join using Mapreduce