0% found this document useful (0 votes)
37 views1 page

Map Reduce Programming

This document provides instructions for two MapReduce programs. The first program computes the maximum temperature from weather data files for each year. The second program counts the number of GIF, JPG, and other image file types accessed from a web server log file. Students are instructed to download Hadoop files, set up Eclipse, run the first temperature program, and modify and run the second image counting program by changing its package name. Screenshots of the program outputs are required for submission.

Uploaded by

llllll
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views1 page

Map Reduce Programming

This document provides instructions for two MapReduce programs. The first program computes the maximum temperature from weather data files for each year. The second program counts the number of GIF, JPG, and other image file types accessed from a web server log file. Students are instructed to download Hadoop files, set up Eclipse, run the first temperature program, and modify and run the second image counting program by changing its package name. Screenshots of the program outputs are required for submission.

Uploaded by

llllll
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Lab 01 Map Reduce Programming

IT413 No SQL Databases, Winter’2021, DAIICT, Gandhinagar; pm_jat

In this lab you setup map-reduce programming environment with eclipse and appreciate
map-reduce as programming approach.

Do following-

1. Download Hadoop files and Setup Eclipse on your system as per the instructions
given in file “map-reduce-eclipse-setup.pdf”.

Here you also run your first map reduce program as per the instructions given in said
file. Source code and data file are being made available to you. The program works as
following:
a. Computes maximum temperature from NCDC weather data. The data file
contains weather data for two years.
b. The program outputs max temperature for each year.
Required source code and data are available at
https://github.com/pmjat/NoSQL-Labs-W21/tree/main/Lab01/maxtemp

2. You are given another program that processes a “web access log” file
(“web_access_log.txt”) produced by a web server. You can understand about the
content of web access log file from
https://httpd.apache.org/docs/1.3/logs.html#common

Let the Map Reduce program be called “ImageCounter”.

The program counts and outputs the number of times GIF, JPG, and other image files
that have been accessed by clients.

Required source code and data file is being shared with you.

Place this program to package ‘lab01.imagecounter’. This shall require you changing
package name at top of all source files accordingly.
Required source code and data are available at
https://github.com/pmjat/NoSQL-Labs-W21/tree/main/Lab01/maxtemp

Submission Required:
## Screen shot of Program Outputs

You might also like