Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-13-2016 04:23 PM
Created 03-13-2016 09:50 PM
Created 03-13-2016 04:29 PM
You can't set number of mappers, it is determined by number of blocks in your dataset.
The number of maps is usually driven by the total size of the inputs, that is, the total number of blocks of the input files.
The right level of parallelism for maps seems to be around 10-100 maps per-node, although it has been set up to 300 maps for very cpu-light map tasks. Task setup takes a while, so it is best if the maps take at least a minute to execute.
Thus, if you expect 10TB of input data and have a blocksize of 128MB, you’ll end up with 82,000 maps, unless Configuration.set(MRJobConfig.NUM_MAPS, int) (which only provides a hint to the framework) is used to set it even higher.
Created 03-14-2016 10:26 AM
thanks@Artem
Created 03-13-2016 09:50 PM
Created 03-14-2016 10:26 AM
thanks @Benjamin Leonhardi