---
title: "Too many fetch failures"
author: "bupt04406"
date: "2013-10-29T10:42:51Z"
tags: []
categories: ["开源软件"]
slug: "too-many-fetch-failures"
draft: false
lastmod: "2014-04-11T10:40:10Z"
id: 1965950
url: "https://bupt04406.iteye.com/blog/1965950"
---

[http://lucene.472066.n3.nabble.com/Reg-Too-many-fetch-failures-Error-td4037975.html](http://lucene.472066.n3.nabble.com/Reg-Too-many-fetch-failures-Error-td4037975.html)

 

[http://www.slideshare.net/cloudera/hadoop-troubleshooting-101-kate-ting-cloudera](http://www.slideshare.net/cloudera/hadoop-troubleshooting-101-kate-ting-cloudera)

 

![](http://dl2.iteye.com/upload/attachment/0090/6420/0e545b2c-33e6-334d-859c-2e6e3f9dea09.jpg)

 

 

 [http://lucene.472066.n3.nabble.com/Reg-Too-many-fetch-failures-Error-td4037975.html](http://lucene.472066.n3.nabble.com/Reg-Too-many-fetch-failures-Error-td4037975.html)

 

As you may be aware this means the reduces are unable to fetch intermediate data from TaskTrackers that ran map tasks – you can try:

\* increasing tasktracker.http.threads so there are more threads to handle fetch requests from reduces.

\* decreasing mapreduce.reduce.parallel.copies : so fewer copy / fetches are performed in parallel

 

It could also be due to a temporary DNS issue.

 

 

cdh3u4：

TaskTracker里面： 

workerThreads = conf.getInt("tasktracker.http.threads", 40);

 

ReduceTask里面： 

this.numCopiers = conf.getInt("mapred.reduce.parallel.copies", 5);

 

 

 [http://lucene.472066.n3.nabble.com/Error-Too-Many-Fetch-Failures-td3990324.html](http://lucene.472066.n3.nabble.com/Error-Too-Many-Fetch-Failures-td3990324.html)

 

 $ cat /proc/sys/net/core/somaxconn 

1024

$ ulimit -n 

131072