I am trying to figure out how to set the number of maps to use in 0.20.2.

If I was using JobConf in my program I could use:

conf.setNumMapTasks(numMaps);

However JobConf and the method are deprecated and when we started our
project we structured everything to use Configuration and Job because of
this. Is there a way to set the number of map tasks using Job and
Configuration?

Thank you for any help,
Jason

Reply via email to