edu.purdue.cs.eblanton
Class WordCount

java.lang.Object
  extended by edu.purdue.cs.eblanton.WordCount

public class WordCount
extends java.lang.Object

Main execution class for a Hadoop map/reduce operation which counts occurrences of every unique whitespace-separated word in the files from a specified input directory, and writes this output to a specified output directory.


Constructor Summary
WordCount()
           
 
Method Summary
static void main(java.lang.String[] args)
          Performs the WordCount map/reduce operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordCount

public WordCount()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Performs the WordCount map/reduce operation.

Parameters:
args - the command arguments. argv[0] should hold the name of a directory containing text files for input, and argv[1] should hold the name of a non-existent directory to be created for output.
Throws:
java.lang.Exception