MDA621 Software Practice for Big Data Analytics Assignment Help
Description
In this group assignment, you will explore various aspects of big data analysis and manipulation using the Hadoop ecosystem, specifically focusing on Pig Latin and Hive Query Language (Hive QL). The primary objective of this assignment is to gain practical experience in processing large-scale data sets and understanding the differences in data trends over time. You will be working with two distinct data sets: patent data and sale data related to patent applications and sale transactions.
For the first part of the assignment, you will use patent data from the United States (US) and abroad to analyze the total patent applications applied and granted each year. This will involve executing patent files, creating directories on a Hadoop cluster, and running the Pig Latin program to count the total number of patent applications applied and granted yearly. This analysis will help you understand the development of analytics reports on patent data over a decade.
In the second part of the assignment, you will work with sales data using Hive QL commands. The primary goal here is to analyze product sale transactions by performing various data operations such as uploading files to HDFS, joining multiple data sets, grouping data, and performing calculations such as listing customers, products and supplier details. You will also filter and display the expensive products and the average price of all products.
By the end of this assignment, you will have acquired hands-on experience in leveraging the Hadoop ecosystem to analyze and manipulate large-scale data sets efficiently. This will serve as a foundation for further exploration in the field of big data analysis and processing.
Note: As a starting point, it is essential to apply the knowledge gained from previous lessons to create a cluster on Amazon Web Services (AWS) and set it up properly to execute all required files. Including, setting up the EC2 and EMR cluster on AWS, SSH to connect to the cluster, and setting up the File Transfer Protocol. These initial steps lay the foundation for successfully managing and processing large-scale data sets using the Hadoop ecosystem on a cloud-based platform.
Your Tasks
To complete Assignment 2, which comprises two main parts, your team will follow the steps outlined in the two questions below to perform data processing and analysis tasks using the Hadoop ecosystem, Pig Latin and Hive QL. The primary focus will be working with datasets related to patent data and sale data, allowing for hands-on experience in managing and processing large-scale information efficiently.
Part I: Download the US_patent.csv data from the Assignment 2 folder on Moodle. It is a comma separated value (CSV) file. The file includes a list of US patents applied and granted between 1965 and 2020. The column “Total Patent Applications” in the file presents the total applied applications, and “Total Patent Grants” contains information about total granted applications.
[40 Marks]
For Part I, using Pig Latin commands and Tableau to perform the following tasks:
1. Upload the files to HDFS.
2. Create directories on the cluster and name the directory Patent.
3. Load the file US_patent to the new directory.
4. Write a Pig program to find the total number of patents applied each year.
5. Write a Pig program to find the total number of patents granted each year.
6. Observe and compare the applied rate and granted rate from 1965 and 2020.
7. Using Tableau Software, visualize the results in a suitable manner. Choose the format that you find most appropriate.
8. In 350 words, summarize your understanding of the changing trends and accepted rates of patent applications.
Part II: Download the saledata.zip data from Assignment 2 folder on Moodle. This file is compressed, and once you unzip it, you will find five tab-delimited text formats files:
[50 Marks]
• customer (which contains information about customer ID, name and zip code)
• product (which contains information about product ID, name, price, supplier ID and product category)
• product sales(which contain information about product id, corresponding sale transaction id and no of items sold)
• sales (which contain information about sale ID, customer ID, store ID and transaction year) • supplier (which contains information about supplier ID and supplier name)
For Part II, using Hive QL commands to perform the following operations:
1. Upload the five files to HDFS
2. Create a directory on the cluster and name the directory Sales.
3. Create a database named sales_db and create tables where the above files can be loaded.
4. Display the supplier id and supplier name for all suppliers.
5. Display the customer’s name and customer zip for all customers.
6. Display the product id, product name, product price, and supplier name for all products.
7. Filter and display the product id, product name, and product price for products with a product price of $500 or lower.
8. Filter and display the customer’s name and sale year for sales involving a customer buying more than two products.
9. Filter the top product id and product name based on product price.
10. Calculate the average price of all products.
11. In 350 words, summarize your findings.
Submission
The group must submit the followings (only group leader submits on behalf of the whole group): • A final report should detail how your team has carried out each step of the data analytics process explained above, any assumptions made in the analysis, any limitations in your models, and comparison of your findings. The names of team members must be included on the cover page. • Include all Python code required for processing data analysis.
• A maximum 10-minute recorded video (.mp4 format) with all members participating in presenting this group Assignment 2. You can use PowerPoint slides in your presentation. Each student must additionally submit:
• “Peer Evaluation” table by commenting on contributions and participation by your team members. Please include your team member’s name in the evaluation.
Marking Criteria for the Assignment 2
Example Marking Rubric for Assignment
For More Assignment Samples:-
-
Master of Data Analytics Major in Software Engineering Assignment-2 (MDA512) Assignment Help
-
Artificial Intelligence (MDA522 Assignment 2) Assignment Help
-
Software Engineering Fundamentals T1 (MDA523) Assignment Help
-
Australian Population Analysis and Prediction (MDA511) Assignment Help
-
MDA511: Mathematical and Statistical Methods Assignment Help for Melbourne Institute
Leave A Comment