Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If I understand correctly, currently, sort happens on the reducer side.
So if few hundred mappers produce few (or many) Gig of data, and there is just ONE reduce to consume it, copying and sorting takes forever.
It may make sense to have a special case optimization for a single reducer. (E.g. "when there is only reducer and many mappers, sort is done by the mappers, and reducer does only a merge")
Or to have some smarter policy that makes sure that sorting uses as many CPUs as it makes sense. If the map step has produced data on all the nodes of the cluster, it makes sense to use all the nodes for sorting.
Attachments
Issue Links
- is part of
-
HADOOP-331 map outputs should be written to a single output file with an index
- Closed