Spark
Lab
/ practice / quiz / spark-architecture
Overview
Learn
Modules
Practice
Cheatsheets
Search lessons & terms…
⌘K
0/39 lessons
Practice
Module 01 quiz · 8 questions
Spark Architecture
Spark Architecture · Question 1 of 8
Why did iterative algorithms such as PageRank run so slowly on Hadoop MapReduce compared with Spark?
A
MapReduce could run only one map task per node at a time
B
Each iteration was a separate job that wrote its full output to replicated HDFS and the next job read it back
C
MapReduce has no shuffle, so every iteration had to broadcast the whole dataset
D
MapReduce jobs had to be written in Java, which is slower than Scala