Post 12 – MapReduce Example
Suppose a 500 MB file containing store_id and daily_sales. Problem Statement: Find the sum of all times sales per store. store_id,date,daily_sales 1,12/01/2018,450 1,13/01/2018,500 1,14/01/2018,600 2,13/02/2018,400 2,14/02/2018,300 2,15/02/2018,600 … Solution: There are 3 steps involved in the MapReduce algorithm: Record Reader, Map, Shuffling, Sorting, Reducer Record Reader – Takes each line in the file and converts…