From VistrailsWiki
Revision as of 03:51, 2 October 2012 by Juliana (talk | contribs)
Jump to navigation Jump to search

cs9223 - Massive Data Analysis - Homework Assignment 1

Hands-on experience with Hadoop/MapReduce

As a good citizen of NYC, you want to be prepared for potential disaster scenarios and you want to learn about hurricane evacuation centers in NYC ( You will:

  • Install Hadoop and HDFS on your laptop
  • The hurricane center data that in the files located at: File1 (hurricane-center-addresses.csv) contains the addresses for hurricane centers, while File2 ("hurricane-center-coordinates.csv") contains their coordinates.
  • Write and run MapReduce programs that:

a) Select the tuples from File1 where zipcode<10030

b) Eliminate duplicates from File1

c) Compute the natural join between File1 and File2, i.e., create a new file that contains both the addresses and coordinates for the hurricane centers

  • You should submit your java program source and binary (named and hw1.jar). The program should accept as an argument the question letter (a,b, and c) and output the answer for that question. Your program should read the files from their http location.