2015-06-19 46 views

回答

0

在地图的工作,你可以设置mapreduce.map.maxattempts在Hadoop中2.减少作业,设置mapreduce.reduce.maxattemptssource)。 Hadoop 1中的等效项为:mapred.map.max.attemptsmapred.reduce.max.attempts

如果您使用的是MRJob conf文件,你可以设置为:

runners: 
    emr: 
     jobconf: 
      mapreduce.map.maxattempts: 2