Answered step by step
Verified Expert Solution
Question
1 Approved Answer
There is a collection of e - commerce transactions that occurred in NSW in 2 0 2 0 , which records transaction ID , seller
There is a collection of ecommerce transactions that occurred in NSW in which records transaction ID seller ID buyer ID date of transaction, suburb of buyer, total price of the transaction. Now you are asked to write MapReduce programs in Python. The programs need to complete the following two tasks.
Task : count the total number of transactions in each suburb and in each month, and
Task : generate a sorted list of month suburb, # of all transactions in the suburb This list is ordered first by chronological order of months, then by descending order of # of all transactions in each suburb.
A sample output can be found below:
December Marsfield
December Eastwood
December Epping
July Chatswood
July Lane Cove
July Blacktown
January Macquarie Park
January Epping
January Eastwood
Introduce the steps in each task and explain where and how to use MapReduce model in each task.
Draw a diagram to introduce the workflow of each task.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started