My understanding is, in mapreduce programming model we have map and reduce are the two phases. After completing the map phase intermediate (key, values) values are generated and these are passed to reducers.
My doubt is after map() phase the shuffle and sort will come. So, i feel that shuffle and sort are part of reducer phase, is it true ?
if that is the case how combiner() is working ?