Lab2 - niCEnANi/RealTimeBigData GitHub Wiki

Lab2 Assignment

Use Case: Odd Man out

Input:

1 2 3 1 7 5 5 2 3

7 4 6 6

Output:

output

Map Reduce Algorithm

mapreduce

The idea is to find out the number count and then sort the numbers by count value. so the first value will be odd number. It can be accessed by the first() operation.