I have setup a distributed environment on Fedora OS to run Hadoop.
System Fedora1 is the name node, Fedora2 is Job tracker, Fedora3 and Fedora4 
are task trackers.
Conf/masters contains the entries Fedora1, Fedors2, and conf/slaves contains 
the entries Fedora3, Fedora4.
When I run the sample wordcount example with single task tracker (either 
Fedora3 or Fedora4), it works fine and the job completes in a few seconds.
However, when I add the other task tracker in conf/slaves, the reducer stop at 
16% and the job completes after 13 minutes.
The same problem exists in versions 16.4, 17.2.1 and 18.3. The output on the 
namenode console is shown below:

[r...@fedora1 hadoop-0.17.2.1Cluster]# bin/hadoop jar samples/wordcount.jar 
org.myorg.WordCount input output
09/02/19 17:43:18 INFO mapred.FileInputFormat: Total input paths to process : 1
09/02/19 17:43:19 INFO mapred.JobClient: Running job: job_200902191741_0001
09/02/19 17:43:20 INFO mapred.JobClient:  map 0% reduce 0%
09/02/19 17:43:26 INFO mapred.JobClient:  map 50% reduce 0%
09/02/19 17:43:27 INFO mapred.JobClient:  map 100% reduce 0%
09/02/19 17:43:35 INFO mapred.JobClient:  map 100% reduce 16%
09/02/19 17:56:15 INFO mapred.JobClient: Task Id : 
task_200902191741_0001_m_000001_0, Status : FAILED
Too many fetch-failures
09/02/19 17:56:15 WARN mapred.JobClient: Error reading task outputNo route to 
host
09/02/19 17:56:18 WARN mapred.JobClient: Error reading task outputNo route to 
host
09/02/19 17:56:25 INFO mapred.JobClient:  map 100% reduce 81%
09/02/19 17:56:26 INFO mapred.JobClient:  map 100% reduce 100%
09/02/19 17:56:27 INFO mapred.JobClient: Job complete: job_200902191741_0001
09/02/19 17:56:27 INFO mapred.JobClient: Counters: 16
09/02/19 17:56:27 INFO mapred.JobClient:   Job Counters
09/02/19 17:56:27 INFO mapred.JobClient:     Launched map tasks=3
09/02/19 17:56:27 INFO mapred.JobClient:     Launched reduce tasks=1
09/02/19 17:56:27 INFO mapred.JobClient:     Data-local map tasks=3
09/02/19 17:56:27 INFO mapred.JobClient:   Map-Reduce Framework
09/02/19 17:56:27 INFO mapred.JobClient:     Map input records=5
09/02/19 17:56:27 INFO mapred.JobClient:     Map output records=25
09/02/19 17:56:27 INFO mapred.JobClient:     Map input bytes=138
09/02/19 17:56:27 INFO mapred.JobClient:     Map output bytes=238
09/02/19 17:56:27 INFO mapred.JobClient:     Combine input records=25
09/02/19 17:56:27 INFO mapred.JobClient:     Combine output records=23
09/02/19 17:56:27 INFO mapred.JobClient:     Reduce input groups=23
09/02/19 17:56:27 INFO mapred.JobClient:     Reduce input records=23
09/02/19 17:56:27 INFO mapred.JobClient:     Reduce output records=23
09/02/19 17:56:27 INFO mapred.JobClient:   File Systems
09/02/19 17:56:27 INFO mapred.JobClient:     Local bytes read=522
09/02/19 17:56:27 INFO mapred.JobClient:     Local bytes written=1177
09/02/19 17:56:27 INFO mapred.JobClient:     HDFS bytes read=208
09/02/19 17:56:27 INFO mapred.JobClient:     HDFS bytes written=175

Appreciate any help on this.

Thanks

Jagadesh

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

Reply via email to