Mutual Friends MapReduce Application
Motivation
Finding mutual friends is a compelling MapReduce App and has a nice write up on the web.
Background
Code To Implement
class: | MutualFriendsMapper.java | |
methods: | map | |
package: | mapreduce.apps.friends.studio | |
source folder: | student/src/main/java |
method: public void map(Account account, BiConsumer<OrderedPair<AccountId>, Set<AccountId>> keyValuePairConsumer)
(sequential implementation only)
class: | MutualFriendsClassicReducer.java | |
methods: | finisher | |
package: | mapreduce.apps.friends.studio | |
source folder: | student/src/main/java |
method: public Function<List<Set<AccountId>>, MutualFriendIds> finisher()
(sequential implementation only)