edu.umd.cloud9.demo
Class DemoWordCountTuple2
java.lang.Object
edu.umd.cloud9.demo.DemoWordCountTuple2
public class DemoWordCountTuple2
- extends Object
Another demo that illustrates use of Tuple objects as intermediate
keys in a MapReduce job. Input comes from the Bible+Shakespeare sample
collection, packed into a SequenceFile with DemoPackTuples2; the
tuples have complex internal structure. Output shows the count of words on
even- and odd-length lines. This demo does exactly the same thing as
DemoWordCountTuple1.
|
Method Summary |
static void |
main(String[] args)
Runs the demo. |
main
public static void main(String[] args)
throws IOException
- Runs the demo.
- Throws:
IOException