Difference between revisions of "MapReduce Mapper Assignment"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
{{Sequential|public Function<List<Integer>, Integer> finisher()}} | {{Sequential|public Function<List<Integer>, Integer> finisher()}} | ||
+ | |||
+ | =Testing Your Solution= | ||
+ | ==Correctness== | ||
+ | {{TestSuite|IntSumStudioTestSuite|mapreduce}} |
Revision as of 22:18, 16 February 2018
Motivation
Familiarity on how Mappers and Reducers work
K-mer will prepare for lab 6.
Code To Implement
class: | CardMapper.java | |
methods: | map | |
package: | mapreduce.apps.intsum.cards.studio | |
source folder: | student/src/main/java |
method: public void map(Deck deck, BiConsumer<Suit, Integer> keyValuePairConsumer)
(sequential implementation only)
class: | WordCountMapper.java | |
methods: | map | |
package: | mapreduce.apps.intsum.wordcount.studio | |
source folder: | student/src/main/java |
method: public void map(TextSection textSection, BiConsumer<String, Integer> keyValuePairConsumer)
(sequential implementation only)
class: | KMerMapper.java | |
methods: | map | |
package: | mapreduce.apps.intsum.kmer.studio | |
source folder: | student/src/main/java |
method: public void map(byte[] sequence, BiConsumer<String, Integer> keyValuePairConsumer)
(sequential implementation only)
class: | IntegerSumClassicReducer.java | |
methods: | finisher | |
package: | mapreduce.apps.intsum.studio | |
source folder: | student/src/main/java |
method: public Function<List<Integer>, Integer> finisher()
(sequential implementation only)
Testing Your Solution
Correctness
class: | IntSumStudioTestSuite.java | |
package: | mapreduce | |
source folder: | testing/src/test/java |