|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.purdue.cs.eblanton.WordCount
public class WordCount
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 |
|---|
public WordCount()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
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.
java.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||