installing ngodb nosql big data processing …cis.csuohio.edu › ~sschung › cis612 ›...

Post on 27-Jun-2020

33 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Installing MongoDB NoSQL Big Data Processing systems on Hadoop:

And performing some basic CRUD operations.

Installing and Configuring MongoDB:

Updating it:

Starting MongoDB:

Creating a Database Exampledb and performing a simple insert and find operation:

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:

Creating a post and inserting it into our database:

To see how the document was created:

Updating the document:

Deleting the Document:

HIVE INSTALLATION AND CONFIGURATION

Downloading Hive

Extracting the downloaded file

Editing .bashrc file and setting the HIVE path

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.

Now we run HIVE

Now we create a employee table and insert the data into it with empdata.txt created with

4 employee details

top related