Module 1: ICP #2 - VidyullathaKaza/BigData_Programming_Spring2020 GitHub Wiki

Name: Vidyullatha Lakshmi Kaza

Class ID: 8

OBJECTIVE:

Counting the frequency of words in the given input with Map-Reduce algorithm and also Counting the frequency of words that start with letter 'a'.

Input Text File

Output

Part-1

Part-2

Procedure

  1. We are going to check the program first in intelliJ for the second part of ICP we are checking the logic such that we are only filtering the words that only start with letter 'a'

Part-1

Part-2

  1. We are moving the input and jar files to hadoop and start the execute programs using following commands

Part-1

Part-2

Bonus

OBJECTIVE:

check the number in input and print if prime number

Input

Logic

We are checking if number is prime using the following logic in reducer phase

Output