Highlights
Project - Analyzing New York City 311 Calls using Hive
1 Introduction
In this assignment, you will download a dataset of New York City 311 calls and analyze it using Hive. The dataset contains information about the types of complaints and service requests received by the city’s 311 call center. You will use Hive to load the data into a table and perform various analyses to gain insights into the data.
2 Downloading the Dataset
The dataset can be downloaded from the following link: NYC 311 Calls. You can also use a wget command to directly download the dataset using the command below (posted on Blackboard). Note that this is not the latest data but it is fine for this project.
3 Loading the Data into HDFS
To load the data into HDFS, follow these steps:
1. Open a terminal and navigate to the Hadoop installation directory.
2. Use the following command to create a directory in HDFS to store the dataset:
hadoop fs -mkdir /user//311_calls
3. Use the following command to copy the downloaded CSV file into the HDFS directory:
hadoop fs -copyFromLocal /user//311_calls/
4 Creating a Hive Table
To create a Hive table for the 311 calls dataset, follow these steps:
1. Open a terminal and launch the Hive shell using the following command:
hive
2. Use the following command to create a new database:
CREATE DATABASE 311_calls;
3. Use the following command to create a new table in the database:
4. Use the following command to load the data from the CSV file into the table:
1 LOAD DATA INPATH ’/user//311_calls/’
2 INTO TABLE calls_YourName;
5 Analyzing the Data using Hive
Now that the data is loaded into a Hive table, you can begin to analyze it using various Hive queries. Here are some potential insights that could be gained from the dataset. You are welcome to come up with any other insights you think might be useful.
This IT and Computer Science has been solved by our PhD Experts at My Uni Paper. Our Assignment Writing Experts are efficient in providing a fresh solution to this question. We are serving more than 10000+ Students in Australia, the UK, and the US by helping them to score HD in their academics. Our Experts are well-trained to follow all marking rubrics and referencing styles.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.