1, CS, Comedy
2, ADBMS, Action
3, DSP, Children
4, OS, Comedy
5, WEB, Comedy
6, AI, Children
7, SIGNALS, Action
2, 4, 3
4, 3, 3
4, 4, 4
1, 3, 1
5, 4, 4
5, 7, 5
5, 1, 1
1, Male, 17
2, Female, 28
3, Female, 25
4, Male, 27
5, Male, 35
6, Female, 30
[cloudera@quickstart Desktop]$ hadoop jar Job1.jar FirstJob myProject/inputFirstJob/Users.txt myProject/inputFirstJob/Ratings.txt myProject/outputFirstJob
MR 4, 3
MR 4, 4
MR 3, 3
MR 7, 5
MR 4, 4
[cloudera@quickstart Desktop]$ hadoop jar Job2.jar SecondJob myProject/outputFirstJob/* myProject/inputSecondJob/Movies.txt myProject/outputSecondJob
1 CS, 0.0
3 DSP, 3.0
4 OS, 3.6666666666666665
5 WEB, 0.0
6 AI, 0.0
switched to db gameDB
gameDB
{ ok: 1 }
games
{
acknowledged: true,
insertedIds: {
'0': ObjectId("646bed576dab34cfcc24fdf2"),
'1': ObjectId("646bed576dab34cfcc24fdf3"),
'2': ObjectId("646bed576dab34cfcc24fdf4"),
'3': ObjectId("646bed576dab34cfcc24fdf5"),
'4': ObjectId("646bed576dab34cfcc24fdf6")
}
}
[
{
_id: ObjectId("646bed576dab34cfcc24fdf2"),
name: 'Mincraft',
publisher: 'Mohammad',
year_released: 2010,
rating: 4
},
{
_id: ObjectId("646bed576dab34cfcc24fdf3"),
name: 'GTA V',
publisher: 'Ahmad',
year_released: 2014,
rating: 5
},
{
_id: ObjectId("646bed576dab34cfcc24fdf4"),
name: 'Fortnite',
publisher: 'Rami',
year_released: 2017,
rating: 2
},
{
_id: ObjectId("646bed576dab34cfcc24fdf5"),
name: 'Deathloop',
publisher: 'Hala',
year_released: 2019,
rating: 1
},
{
_id: ObjectId("646bed576dab34cfcc24fdf6"),
name: 'PUBG',
publisher: 'Aya',
year_released: 2008,
rating: 3
}
]
[
{
_id: ObjectId("646bed576dab34cfcc24fdf2"),
name: 'Mincraft',
publisher: 'Mohammad',
year_released: 2010,
rating: 4
},
{
_id: ObjectId("646bed576dab34cfcc24fdf3"),
name: 'GTA V',
publisher: 'Ahmad',
year_released: 2014,
rating: 5
},
{
_id: ObjectId("646bed576dab34cfcc24fdf4"),
name: 'Fortnite',
publisher: 'Rami',
year_released: 2017,
rating: 2
}
]
[
{
_id: ObjectId("646bed576dab34cfcc24fdf3"),
name: 'GTA V',
publisher: 'Ahmad',
year_released: 2014,
rating: 5
},
{
_id: ObjectId("646bed576dab34cfcc24fdf2"),
name: 'Mincraft',
publisher: 'Mohammad',
year_released: 2010,
rating: 4
},
{
_id: ObjectId("646bed576dab34cfcc24fdf6"),
name: 'PUBG',
publisher: 'Aya',
year_released: 2008,
rating: 3
}
]
[
{
_id: ObjectId("646bed576dab34cfcc24fdf3"),
name: 'GTA V',
publisher: 'Ahmad',
year_released: 2014,
rating: 5
}
]
DeprecationWarning: Collection.update() is deprecated. Use updateOne, updateMany, or bulkWrite.
{
acknowledged: true,
insertedId: null,
matchedCount: 1,
modifiedCount: 1,
upsertedCount: 0
}
[
{
_id: ObjectId("646bed576dab34cfcc24fdf2"),
name: 'Mincraft',
publisher: 'Mohammad',
year_released: 2010,
rating: 4
},
{
_id: ObjectId("646bed576dab34cfcc24fdf3"),
name: 'GTA V',
publisher: 'Ahmad',
year_released: 2014,
rating: 5
},
{
_id: ObjectId("646bed576dab34cfcc24fdf4"),
name: 'Fortnite',
publisher: 'Rami',
year_released: 2017,
rating: 2
},
{
_id: ObjectId("646bed576dab34cfcc24fdf5"),
name: 'Deathloop',
publisher: 'Hala',
year_released: 2019,
rating: 1
},
{
_id: ObjectId("646bed576dab34cfcc24fdf6"),
name: 'PUBG',
publisher: 'Aya',
year_released: 2008,
rating: 4
}
]