Question: Homework Requirements: Please download the dataset named data.csv from the link above. In this dataset, each line is a pair of strings separated with
Homework Requirements:
Please download the dataset named "data.csv from the link above. In this dataset, each line is a pair of strings separated with comma. Formally, each line can be represented as
Problem Details:
Given the pairs in the "data.csv dataset, please write a MapReduce program according to the following requirements.
Map phase:
Order the pair of strings alphabetically.
For example, given a pair
if then the ordered pair is still ;
if then the ordered pair ;
Reduce phase:
Output all ordered pairs the dataset well the count each ordered pair.
addition, please use counter compute the total number unique ordered pairs.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
