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 2006/06/28 22:36:08 UTC

[Lucene-hadoop Wiki] Update of "Sort" by HairongKuang

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 HairongKuang:
http://wiki.apache.org/lucene-hadoop/Sort

New page:
= Sort Example =

'''Sort''' example is a trivial map/reduce program that does nothing other than use the framework to fragment and sort the input data. The mapper is an Identity map, while the ruducer is an Identity reducer. The input and output are Sequence files, of which both key and value have a type of ''!BytesWritable''. 

To run the example, the command syntax is[[BR]]
bin/hadoop org.apache.hadoop.examples.Sort [-m <#maps>] [-r <#reduces>] <in-dir> <out-dir>