MapReduce Reducer Assignment

From CSE231 Wiki
Revision as of 03:16, 22 February 2018 by Cosgroved (talk | contribs)
Jump to navigation Jump to search

Motivation

Collector is fundamental to the MapReduce Framework lab.

Background

interface Collector<T,A,R>

class MutableInt

Code To Implement

ClassicReducer

class: ClassicReducer.java Java.png
methods: supplier
accumulator
combiner
package: mapreduce.collector.studio
source folder: student/src/main/java

IntSumCollector

class: IntSumCollector.java Java.png
methods: supplier
accumulator
combiner
finisher
package: mapreduce.collector.intsum.studio
source folder: student/src/main/java

Testing Your Solution

Correctness

class: CollectorStudioTestSuite.java Junit.png
package: mapreduce
source folder: testing/src/test/java