using mapreduce instead of mapred