Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 ›...
Transcript of Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 ›...
![Page 1: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/1.jpg)
Installing MongoDB NoSQL Big Data Processing systems on Hadoop:
And performing some basic CRUD operations.
Installing and Configuring MongoDB:
![Page 2: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/2.jpg)
Updating it:
Starting MongoDB:
Creating a Database Exampledb and performing a simple insert and find operation:
![Page 3: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/3.jpg)
Defining some variables and inserting them into our database exampledb:
Finding a Name in the inserted data:
Collections that are present in the server:
Distinct Command:
![Page 4: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/4.jpg)
Creating a post and inserting it into our database:
To see how the document was created:
Updating the document:
![Page 5: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/5.jpg)
Deleting the Document:
HIVE INSTALLATION AND CONFIGURATION
Downloading Hive
Extracting the downloaded file
Editing .bashrc file and setting the HIVE path
![Page 6: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/6.jpg)
Hive version
Creating a warehouse path for HIVE in HDFS
Giving write permissions to the created group
After this we edit hive-env.sh file, insert Hadoop path there and save the file.
When adding the Hadoop path is done we setup the derby database. By default, Hive
uses Derby database. So we Initialize Derby database.
![Page 7: Installing ngoDB NoSQL Big Data Processing …cis.csuohio.edu › ~sschung › cis612 › CIS612LAB4_2_MongoHiv...Installing ngoDB NoSQL Big Data Processing systems on Hadoop: And](https://reader036.fdocuments.in/reader036/viewer/2022063000/5f0fb7d27e708231d4458ae2/html5/thumbnails/7.jpg)
Now we run HIVE
Now we create a employee table and insert the data into it with empdata.txt created with
4 employee details