FIG mapReduce a function of the read MongoDB

In fact, there is a shuffle between map and reduce, he will map output key value partition, sort, merge and merge operation, the merge operation need to define their own initiative will be implemented, and merge operations are automated, he can map key-value is output from the merged key-valueList (iterable to container) in order to achieve the effect of merging value.

mapreduce only handle key - value data, input and output are key - value

Published 55 original articles · won praise 40 · views 210 000 +

Guess you like

Origin blog.csdn.net/hrainning/article/details/102592914