mapreduce任务出错最大尝试次数
生活随笔
收集整理的這篇文章主要介紹了
mapreduce任务出错最大尝试次数
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一個任務出現失敗時,tasktracker會將此任務的失敗信息報告給jobtracker,jobtracker會分配新的節點執行此任務。這種情況下不會影響整個作業的完整執行。但是如果容易任務出現多次失敗,且失敗次數超出失敗的最大指定次數,那么作業會在未完成的情況下被終止。
mapred-site.xml: hadoop1.x:mapred.max.map.attemptsmapred.max.reduce.attempts hadoop2.x:<property><name>mapreduce.reduce.maxattempts</name><value>4</value><description>Expert: The maximum number of attempts per reduce task.In other words, framework will try to execute a reduce task these many numberof times before giving up on it.</description></property><property><name>mapreduce.map.maxattempts</name><value>4</value><description>Expert: The maximum number of attempts per map task.In other words, framework will try to execute a map task these many numberof times before giving up on it.</description></property>?
轉載于:https://www.cnblogs.com/weian404/p/3698068.html
總結
以上是生活随笔為你收集整理的mapreduce任务出错最大尝试次数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: NABC框架的创意之校园导航。
- 下一篇: JavaScript eval()