Q11Big Data Analytics
Question
4 marks
Explain MapReduce architecture.
Answer
MapReduce architecture involves a Master node managing jobs and Worker nodes executing Map and Reduce tasks.
MapReduce distributes processing across a cluster. The architecture has a JobTracker (or ResourceManager in YARN) that coordinates tasks, and TaskTrackers (NodeManagers) that execute them. In the Map phase, input data is processed to generate intermediate key-value pairs. During the Shuffle and Sort phase, these pairs are grouped by key. Finally, the Reduce phase aggregates these grouped values to produce the final output.