Collects the
<key, value>
pairs output by
Mapper
s
and
Reducer
s.
OutputCollector
is the generalization of the facility
provided by the Map-Reduce framework to collect data output by either the
Mapper
or the Reducer
i.e. intermediate outputs
or the output of the job.