Chapter 2: Secondary Sort: A Detailed Example¶
Programs of chapter 2 of the book Data Algorithms (O'Reilly, 2015), running on Spark 4.3.0.
Chapter notes: chap02
Sample input: data/chap02/stock_prices.txt
Run the commands from the repository folder after building the jar (Running the programs).
MapReduce (Hadoop)¶
chap02.mapreduce.SecondarySortDriver¶
Source: SecondarySortDriver.java
scripts/run_mapreduce.sh org.dataalgorithms.chap02.mapreduce.SecondarySortDriver data/chap02/stock_prices.txt /tmp/data-algorithms/chap02.mapreduce.SecondarySortDriver/output