I'm following the word count tutorial here: https://hadoop.apache.org/docs/stable/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html#Example:_WordCount_v1.0
and I can produce how often a word appears in this format:
word frequency
1 1
2 2
3 3
4 1
5 2
6 1
However, now I need to group the frequency like this:
frequency count
1 3
2 2
3 1
Basically, for each frequency, find out how often that appeared. How would I modify the code to show this? I feel like I have to modify IntSumReducer
but I've never really worked with Hadoop.