6.5840 Lab 1: MapReduce
In this lab you'll build a MapReduce system. You'll implement a worker process that calls application Map and Reduce functions and handles reading and writing files, and a coordinator process that hands out tasks to workers and copes with failed workers. You'll be building something similar to the MapReduce paper. (Note: this lab uses "coordinator" instead of the paper's "master".) You need to setup Go to do the labs. Fetch the initial lab software with git (a version control system). To learn more about git, look at the Pro Git book or the git user's manual. We supply you with a simple sequential mapreduce implementation in src/main/mrsequential.go. It runs the maps and reduces one at a time, in a single process. We also provide you with a couple of MapReduce applications: word-count in mrapps/wc.go, and a text indexer in mrapps/indexer.go. You can run word count sequentially as follows: mrsequential.go leaves its output in the file mr-out-0. The input is from the text files named pg-
6.5840 Lab 1: MapReduce 6.5840 - Spring 2026 6.5840 Lab 1: MapReduce Collaboration policy // Submit lab // Setup Go // Guidance // Piazza Introduction In this lab you'll build a MapReduce system. You'll implement a worker process that calls application Map and Reduce functions and handles reading and writing files, and a coordinator process that hands out tasks to workers and copes with failed workers. You'll be building something similar to the MapReduce paper . (Note: this lab uses "coordinator" instead of the paper's "master".) Getting started You need to setup Go to do the labs. Fetch the
Explore this link on the map →related reading
- MapReduce and Spark - Database Systemscs186berkeley.net
- Hadoop - Mapper In MapReduce - GeeksforGeeksgeeksforgeeks.org
- 6.5840 Schedule: Spring 2026pdos.csail.mit.edu
- Paper Notes: Spark – Cluster Computing with Working Sets – Distributed Computing Musingsdistributed-computing-musings.com
- 6.5840 Lab 3: Raftpdos.csail.mit.edu
- Notes on Distributed Systems for Young Bloods – Something Similarsomethingsimilar.com
- A Distributed Systems Reading Listferd.ca
- An Interactive Intro to CRDTs | jakelazaroff.comjakelazaroff.com
- Students' Guide to Raft :: Jon Gjengsetthesquareplanet.com
- Distributed systems for fun and profitbook.mixu.net
- Embarrassingly parallel - Wikipediaen.wikipedia.org
- Spark Architecture: A Deep Dive. Apache Spark is an open-source… | by Amit Joshi | Mediummedium.com