cis 612 lab4 2 hive installation
TRANSCRIPT
![Page 1: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/1.jpg)
CIS612 Big Data and Parallel Database Processing Systems
Hive Installation
NoSql Systems on HDFS Installation of HIVE on ubuntu
Download and Extract the tar file
![Page 2: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/2.jpg)
Step 3: Edit the “.bashrc” file to update the environment variables for user.
![Page 3: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/3.jpg)
![Page 4: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/4.jpg)
Check Hive --version
Edit Hive-site.xml
![Page 5: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/5.jpg)
Modify scratchdir and resources value in hive-site.xml
Hive uses Derby database. Initialize Derby database
![Page 6: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/6.jpg)
Hive Successfully installed and working
Created a Hdfs directory named as ld_csv_hv and ip using below command.
Put the file in the created Hdfs directory using below command:
Check whether the file is available in Hdfs or not using below command:
![Page 7: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/7.jpg)
![Page 8: CIS 612 Lab4 2 Hive Installation](https://reader030.vdocuments.mx/reader030/viewer/2022012606/619a9d17017b404a2c03df97/html5/thumbnails/8.jpg)