H13-723_V2.0 · Question #12
When a MapReduce application is executed, which of the following actions occurred before the map phase?
The correct answer is A. split. Split happens before the map phase because MapReduce must divide the input data into fixed-size chunks (input splits) that can each be processed independently by a mapper - without this partitioning of raw input, there would be nothing for mappers to consume. Combine (B) is an…
Question
When a MapReduce application is executed, which of the following actions occurred before the map phase?
Options
- Asplit
- Bcombine
- Cpartition
- Dsort
How the community answered
(26 responses)- A77% (20)
- B8% (2)
- C12% (3)
- D4% (1)
Explanation
Split happens before the map phase because MapReduce must divide the input data into fixed-size chunks (input splits) that can each be processed independently by a mapper - without this partitioning of raw input, there would be nothing for mappers to consume. Combine (B) is an optional mini-reducer that runs after mapping to reduce data volume before shuffling - it's a post-map optimization. Partition (C) determines which reducer receives which key-value pairs and occurs during the shuffle phase, between map and reduce. Sort (D) also occurs during the shuffle phase, after partitioning, to order keys before they reach the reducer.
Memory tip: Think of the pipeline order as S-M-C-P-S-R - Split → Map → Combine → Partition → Sort → Reduce. Split is the very first "S," making it the only action that precedes the map phase.
Topics
Community Discussion
No community discussion yet for this question.