I have a problem to set number of mappers to one through Java. I am using Job and configuration class. I know that we can set the number of reducers through mapred.map.tasks
with old deprecated API.
Is there any way to specify that using Job and configuration classes. I tried by increasing the input file split size using FileInputFormat.setMinInputSplitSize(FullFilesize)
But, I would like to know do we have any equivalent to the mapred.map.tasks
in the new API or how do you specify by other way