You are on page 1of 6

Name- Harshita Mandloi

BE IT-1
BATCH- B-2
Roll No- 47

EXPERIMENT NO.2

AIM: Programming exercises on Hadoop using MongoDB.

PROGRAMS:
//Create Database

1|Page
Name- Harshita Mandloi
BE IT-1
BATCH- B-2
Roll No- 47

//Formatted Output

2|Page
Name- Harshita Mandloi
BE IT-1
BATCH- B-2
Roll No- 47

//Update query

//Projection and limiting records

3|Page
Name- Harshita Mandloi
BE IT-1
BATCH- B-2
Roll No- 47

//Sorting records

//Aggregate() method

4|Page
Name- Harshita Mandloi
BE IT-1
BATCH- B-2
Roll No- 47

//Collections

5|Page
Name- Harshita Mandloi
BE IT-1
BATCH- B-2
Roll No- 47

CONCLUSION: Hence, we have performed programming exercises on Hadoop


using MongoDB.

6|Page

You might also like