mapreduce architecture with example