Lab1

Each worker process will ask the coordinator for a task, read the task’s input from one or more files, execute the task, and write the task’s output to one or more files. The coordinator should notice if a worker hasn’t completed its task in a reasonable amount of time (for this lab, use ten seconds), and give the same task to a different worker.

Design

Workers

  • Call Coordinator (RPC)
    • get map
    • get reduce

Coordinator

  • Timeout