Commits

Jason Baldridge committed 22b7fe2

Added Cloud9 example to README.

Comments (0)

Files changed (1)

 $ hadoop jar $FOGBOW_DIR/target/fogbow-assembly.jar fogbow.example.WordCountScala pg1661.txt wc_out_holmes_scala_assembly
 
 
+Try out Cloud9
+==============
+
+Fogbow includes Cloud9, a Hadoop package created by Jimmy Lin for
+teaching MapReduce at the University of Maryland. Try out the Cloud9
+word count as follows.
+
+Get the Cloud9 file that has the Bible and Shakespeare bundled
+together:
+
+$ wget --no-check-certificate https://github.com/lintool/Cloud9/raw/603977334b5e25ecf23a182a77fda136fe1df5ff/data/bible+shakes.nopunc.gz
+
+Unzip the file:
+
+$ gunzip bible+shakes.nopunc.gz
+
+Run Cloud9 word count:
+
+$ fogbow run edu.umd.cloud9.example.simple.DemoWordCount bible+shakes.nopunc wc 1
+
+This says to count the words in the file bible+shakes.nopunc,
+outputting the results to the directory "wc", and using one reducer.
+
+Check that you obtained the desired output:
+
+$ grep othello wc/part-r-00000
+othello	339
+othello's	11
+
+
+
 Now what?
 =============