vorakumar / hadoop-examples

Hadoop Examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hadoop-examples

To setup docker container, run

./go setup

Wordcount example

Counts frequencies of each word in the directory.

Follow the comments in the examples.hadoop.mapreduce.simple package and fill in the missing code. Then run,

./go word-count  

Amount By city example

Given following input data, calculate total amount spent by customers in different cities.

Customers

customerId, name, city

Orders

orderId, customerId, amount

Output

City, Total Amount spenty by customers in that city

Follow the comments in the examples.hadoop.mapreduce.join package and fill in the missing code. Then run,

./go amount-by-city  

About

Hadoop Examples


Languages

Language:Java 79.8%Language:Shell 20.2%