Sbonne7_Homework 5

.docx

School

Louisiana State University *

*We aren’t endorsed by this school

Course

4070

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

2

Uploaded by BarristerLarkPerson771

Question A: Use the files CustDetails.txt and LatePmts.txt from Exercise 8-2 to do the following (Use Lucid Chart for the 1 st and 2 nd Tasks): 1. Design an ERD that represents the entities and relationships of the database that contains the data from those two files. 2. Design a graph-based diagram. Use nodes to represent entities and edges to represent relationships. (You need only refer to two or three records in the file.) Question B: Download the file LatePmts.txt , which contains data about customer payments in a commercial bank.
Submit a document that contains: (1) command for each question and (2) screenshot of its result if the screenshot is asked 1. Store the records of the file in a key-value format No Screenshot . 2. Download the files and upload them to HDFS under the NoSQL/Exercise3/input directory (Create the directory if it doesn’t exist). No Screenshot . hadoop fs -mkdir /user/sbonnette12 hadoop fs -copyFromLocal CustDetails2.txt hadoop fs -copyFromLocal LatePmts.txt 3. Use Pig to load the table from HDFS into the payment_NoSQL table. No Screenshot custd2_NoSQL = LOAD 'hdfs:/user/sbonnette12/CustDetails2.txt' using PigStorage(',') AS(key:INT, value:chararray); LateP_NoSQL = LOAD 'hdfs:/user/sbonnette12/LatePmts.txt' using PigStorage(',') AS(key:INT, value:chararray); 4. Use Pig commands to display all the customers with late payments. Attach Screenshot Dump LateP_NoSQL
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help