You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by praveenesh kumar <pr...@gmail.com> on 2011/04/14 12:12:40 UTC

Error : Too many fetch-failures

Hello,

I am new to hadoop.
I am using hadoop 0.20.2 on ubuntu.

I recently installed and configured hadoop using the available tutorials on
internet.
My hadoop is running properly.

But Whenever I am trying to run a wordcount example, the wordcount program
got stuck at the reduce part. After long time , I am getting the following
error..

hadoop@50:/usr/local/hadoop/hadoop$ hadoop jar hadoop-0.20.2-examples.jar
wordcount gutenberg gutenberg-output
11/04/14 23:24:20 INFO input.FileInputFormat: Total input paths to process :
3
11/04/14 23:24:25 INFO mapred.JobClient: Running job: job_201104142306_0001
11/04/14 23:24:26 INFO mapred.JobClient:  map 0% reduce 0%
11/04/14 23:24:45 INFO mapred.JobClient:  map 66% reduce 0%
11/04/14 23:24:54 INFO mapred.JobClient:  map 100% reduce 0%
11/04/14 23:32:50 INFO mapred.JobClient: Task Id :
attempt_201104142306_0001_m_000000_0, Status : FAILED
Too many fetch-failures
11/04/14 23:32:50 WARN mapred.JobClient: Error reading task outputInvalid
argument or cannot assign requested address
11/04/14 23:32:50 WARN mapred.JobClient: Error reading task outputInvalid
argument or cannot assign requested address
11/04/14 23:32:54 INFO mapred.JobClient:  map 66% reduce 0%
11/04/14 23:33:00 INFO mapred.JobClient:  map 100% reduce 0%

Can somebody help me to solve this issue. Its urgent.. I wasted my whole day
in figuring out the problem.

Thanks,
Praveenesh

Re: Error : Too many fetch-failures

Posted by praveenesh kumar <pr...@gmail.com>.
Hi,
>From where I can see the logs ?
I have done single node cluster installaiton and I am running  hadoop on
single machine only. Both Map and Reduce are running on same machine.
Thanks,
Praveenesh
On Thu, Apr 14, 2011 at 4:43 PM, Harsh J <ha...@cloudera.com> wrote:

> Hello Praveenesh,
>
> On Thu, Apr 14, 2011 at 3:42 PM, praveenesh kumar <pr...@gmail.com>
> wrote:
> > attempt_201104142306_0001_m_000000_0, Status : FAILED
> > Too many fetch-failures
> > 11/04/14 23:32:50 WARN mapred.JobClient: Error reading task outputInvalid
> > argument or cannot assign requested address
> > 11/04/14 23:32:50 WARN mapred.JobClient: Error reading task outputInvalid
> > argument or cannot assign requested address
>
> In most cases, this is a simple DNS/hostnames configuration issue. The
> machine on which your Reducer is trying to run on, could be unable to
> contact the HTTP service of the TaskTracker the mappers ran on (one or
> many) due to problems on either end. If this is a single
> pseudo-distributed setup, you may want to verify the contents of your
> /etc/hosts file. A full log output pasted somewhere would also be
> helpful in determining the exact cause.
>
> --
> Harsh J
>

Re: Error : Too many fetch-failures

Posted by Harsh J <ha...@cloudera.com>.
Hello Praveenesh,

On Thu, Apr 14, 2011 at 3:42 PM, praveenesh kumar <pr...@gmail.com> wrote:
> attempt_201104142306_0001_m_000000_0, Status : FAILED
> Too many fetch-failures
> 11/04/14 23:32:50 WARN mapred.JobClient: Error reading task outputInvalid
> argument or cannot assign requested address
> 11/04/14 23:32:50 WARN mapred.JobClient: Error reading task outputInvalid
> argument or cannot assign requested address

In most cases, this is a simple DNS/hostnames configuration issue. The
machine on which your Reducer is trying to run on, could be unable to
contact the HTTP service of the TaskTracker the mappers ran on (one or
many) due to problems on either end. If this is a single
pseudo-distributed setup, you may want to verify the contents of your
/etc/hosts file. A full log output pasted somewhere would also be
helpful in determining the exact cause.

-- 
Harsh J