Project 5: What's in a Name? Shakespeare Meets Hadoop

Due: Wednesday, December 11, 11:59 PM

Quick Links

Download Hadoop 0.20.2 | Hadoop Tutorial | Skeleton Code | Hadoop 0.23.9 API (which is compatible with the version you are using)

Project Overview

In this project, you will walk through a Hadoop tutorial and apply two examples learned there (WordCount and LineIndexer) to a publicly available data set of Shakespeare's works. You will submit the results of running these programs to a Google Spreadsheet Form.

General Requirements

Here are your goals for this project:

Hints

The Context object that is passed into the map and reduce methods is an implementation of the MapContext and ReduceContext interfaces, respectively. These interfaces both extend the TaskInputOutput interfaces. The LineIndexer sample solution does not use Context objects, but your solution will. We have included code that extracts the filename in the skeleton provided to you (implementing the hint provided in the middle of the tutorial). Your job is to write the rest of the code using this hint.

What to Turn In

Submit the results of running your code as printed to the console to the Grading Form. Projects will be graded based on the values submitted here.

Also, you should submit your code to the submit server so that we can check that you implemented the updated LineIndexer. Feel free to submit the entire codebase or simply the LineIndexer file. We will look for the LineIndexer.java file and perform a few lexical checks.

As usual, if you have any troubles, please contact the TA or drop by office hours.

Web Accessibility