final mapred