InterviewSolution
Saved Bookmarks
| 1. |
What is the difference between Spark and MapReduce? |
|
Answer» Spark is a MapReduce improvement in Hadoop. The difference between Spark and MapReduce is that Spark processes and retains DATA in memory for later STEPS, whereas MapReduce processes data on the disc. As a RESULT, Spark's data processing speed is up to 100 times quicker than MapReduce for lesser workloads. Spark also constructs a Directed Acyclic Graph (DAG) to schedule tasks and orchestrate nodes throughout the Hadoop cluster, as opposed to MapReduce's two-stage EXECUTION procedure. |
|