What is the main advantage of Apache Spark over classic MapReduce?
- A In-memory processing between stages, avoiding writing intermediate results to disk
- B It requires less code
- C It uses a different file system
- D It only runs on one machine
Answer
In-memory processing between stages, avoiding writing intermediate results to disk
Iterative workloads such as machine learning benefit most, since MapReduce writes to disk after every stage.





