Reputation: 5356
Are there any real life good use cases/examples for jobs which only involve only Map tasks and no reducers. A job which only triggers mappers and no reducers need to be set.
Upvotes: 2
Views: 1246
Reputation: 3953
I have done many Map-Only Jobs.... here are a few examples.
Basically, if you don't need to combine or aggregate data, you just need to perform a repetitive serial process on each piece of data, you don't usually need a reducer. I would also say that if you don't need a reducer, then you might ask yourself if you might be better off with something like Apache Storm or another processing model with less overhead.
Upvotes: 5
Reputation: 53859
Sure!
Imagine that instead of the famous word-count problem, you simply replace each word by its length.
Doing so, you map each word to its length and you never reduce anything!
Hello map reduce
would become 5 3 6
Upvotes: 1