There is something similar in src/examples/org/apache/hadoop/examples/Grep.java. Instead of outputting pure word counts, it counts occurrences of a regex. Switch the first map reduce job with the one in WordCount.java in the same directory and you're golden.
On 10/25/06, David Pollak <[EMAIL PROTECTED]> wrote:
Howdy, Can anyone point me to an example of chaining MapReduce operations (e.g., Word Count followed by inverting the "Word" and "Count" columns so one wound up with the list sorted by count rather than by word)? Thanks, David
