the mappers execute sequentially not parallelly

143 views Asked by At

Hello i have i problem with the times of executinon of mappers: well finally i succeed to do that: read 2 file inputs :one file per mapper and i add this property mapred.tasktracker.map.tasks.maximum =1 to mapred-site.xml : and this work good for me so the finale result: one file per mapper and one mapper per node . problem that when i look to master:50030 i find that the mappers (2 mappers one that execute in master and the other in slave) execute sequentially not parallelly why?how i fix this problem?

1

There are 1 answers

2
Yann On BEST ANSWER

According to documentation, mapred.tasktracker.map.tasks.maximum set the maximum number of map tasks that will be run simultaneously by a task tracker.

You should set this parameter to a value greater than 1.