Reply
Explorer
Posts: 8
Registered: ‎10-12-2014

How to calculate the number of Mappers

Recently I took the certification exam and this was the question.

With the Block size set to 128MB and two files each with 10 GB and 256MB, how many mappers will run?

 

Can somebody explain in detail why 82 or 84 was not an option among the answers?

Cloudera Employee
Posts: 578
Registered: ‎01-20-2014

Re: How to calculate the number of Mappers

Was anything else mentioned in the question, like file format, compression
etc?

Regards,
Gautam Gopalakrishnan
Explorer
Posts: 8
Registered: ‎10-12-2014

Re: How to calculate the number of Mappers

Gautam,

Not sure about that part, because it has been a while now.

Can you explain the factors which affect the mapper count and how the number of mappers is decided, ( i know it is based on input splits) please

 

Thank you in advance

Raw
New Contributor
Posts: 2
Registered: ‎03-31-2017

Re: How to calculate the number of Mappers

Is that the correct ans Is 82 . 
If yes than I can Explain it .

Announcements