I am trying to run a mapreduce job with a specified number of map task which I am passing as an argument. Following is the command that I am running:
hadoop jar test.jar Test /sample/input/ /sample/output \ -D mapred.map.tasks = 10
Here, I have fixed the number of map task to be 10 but, I am still able to see that the job is running with higher number of map task than what I have specified in the command. I have checked the command as well and it seems fine to me. Please tell me what I am doing wrong?