edu.umd.cloud9.demo
Class DemoWordCount

java.lang.Object
  extended by edu.umd.cloud9.demo.DemoWordCount

public class DemoWordCount
extends Object

Simple word count demo. Counts words in the Bible+Shakespeare sample collection. Expected trace of MapReduce operation:

 Map input records=156215
 Map output records=1734298
 Map input bytes=9068074
 Map output bytes=15919397
 Combine input records=1734298
 Combine output records=135372
 Reduce input groups=41788
 Reduce input records=135372
 Reduce output records=41788
 


Nested Class Summary
static class DemoWordCount.MyMapper
           
static class DemoWordCount.MyReducer
           
 
Method Summary
static void main(String[] args)
          Runs the demo.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws IOException
Runs the demo.

Throws:
IOException