org.apache.hadoop.examples
Class Sort

java.lang.Object
  extended by org.apache.hadoop.examples.Sort

public class Sort
extends Object

This is the trivial map/reduce program that does absolutely nothing other than use the framework to fragment and sort the input values. To run: bin/hadoop jar build/hadoop-examples.jar sort [-m maps] [-r reduces] in-dir out-dir

Author:
Owen O'Malley

Constructor Summary
Sort()
           
 
Method Summary
static void main(String[] args)
          The main driver for sort program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sort

public Sort()
Method Detail

main

public static void main(String[] args)
                 throws IOException
The main driver for sort program. Invoke this method to submit the map/reduce job.

Throws:
IOException - When there is communication problems with the job tracker.


Copyright © 2006 The Apache Software Foundation