Moe Chizari

Projects

The write-up

Interactive demo, added

Managing Big Data with Spark and Hadoop: Performance and Applications: try it.

Count words the MapReduce way: step through Map, Shuffle and Reduce, and choose how many partitions the work is split into.

Try it

Move the controls; the chart and the sentence under it update.

MapReduceSplit 12 lines, 10 wordsSplit 22 lines, 10 wordsSplit 32 lines, 10 wordsPartition 0waitingPartition 1waitingPartition 2waiting
Input: 6 lines in 3 splits,
one split per mapper

Split 1
  big data needs many nodes
  spark keeps data in memory

Split 2
  hadoop keeps data on disk
  many nodes split the work

Split 3
  the map step counts words
  the reduce step adds counts

Input: the text is cut into 3 splits, one per mapper. Press Map to start.

A made-up six-line text, counted in your browser. Hadoop MapReduce writes the map output to disk between steps; Spark keeps it in memory. The steps are the same. Not a real cluster or the original write-up's benchmarks.

The write-up this goes with: Managing Big Data with Spark and Hadoop: Performance and Applications.

All demos