Q&A
Ask and answer questions to make information more available to wider audiences.
Aaliyah Kellogg @kelloggaaliyah   07, Jun 2023 12:00 AM
MapReduce
Is it possible to change the number of mappers to be created in a MapReduce job?
answers 2
 
Answer 1
Jose Grimsbro @josegrimsbro   12, Jun 2023 07:38 PM
For example, if you have a 1GB file that is split into eight blocks (of 128MB each), there will only be only eight mappers running on the cluster. However, there are different ways in which you can either set a property or customize the code to change the number of mappers.
 
Answer 2
Jose Grimsbro @josegrimsbro   12, Jun 2023 07:38 PM
By default, you cannot change the number of mappers, because it is equal to the number of input splits. However, there are different ways in which you can either set a property or customize the code to change the number of mappers.