how to restrict the concurrent running map tasks?
问题 My hadoop version is 1.0.2. Now I want at most 10 map tasks running at the same time. I have found 2 variable related to this question. a) mapred.job.map.capacity but in my hadoop version, this parameter seems abandoned. b) mapred.jobtracker.taskScheduler.maxRunningTasksPerJob (http://grepcode.com/file/repo1.maven.org/maven2/com.ning/metrics.collector/1.0.2/mapred-default.xml) I set this variable like below: Configuration conf = new Configuration(); conf.set("date", date); conf.set("mapred