You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2007/01/09 21:52:25 UTC
[Lucene-hadoop Wiki] Trivial Update of "Sort" by AlbertStrasheim
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.
The following page has been changed by AlbertStrasheim:
http://wiki.apache.org/lucene-hadoop/Sort
The comment on the change is:
fixed typo
------------------------------------------------------------------------------
The '''Sort''' example simply uses the map/reduce framework to sort the input directory into the output directory. The inputs and outputs must be Sequence files where the keys and values are !BytesWritable.
- The mapper is the predefined !IdentityMapper and the ruducer is the predefined !IdentityReducer, both of which just pass their inputs directly to the output.
+ The mapper is the predefined !IdentityMapper and the reducer is the predefined !IdentityReducer, both of which just pass their inputs directly to the output.
To run the program:[[BR]]
bin/hadoop jar hadoop-*-examples.jar sort [-m <#maps>] [-r <#reduces>] <in-dir> <out-dir>