No reduce for map reduce job


#1

If I do not want to use the reduce part of the map-reduce job, do I still need to specify return without anything in the map or can I just omit it? How would the parametric map-reduce look like in this case, should I be using Void?


#2

We have been running MR jobs with no return in map and no reduce at all. Seems to be working fine.


#3

@romain.juban If you don’t need a reduce function, you could use void/string/int or any valid type to declare parametric, and omit return value in your map function.