Mappers
- Input: <key, value> pairs
- Output: <key, value> pairs that can be grouped by key
Shuffling/ Sorting
- Input: <key, value> pairs that can be grouped by key
- Output: <key, <list of values>>
Reducers
- Input: <key, <list of values>>
- Output: <key, value> where list in the K-V pair is compacted to scalar