Have you checked if the output folder /tmp was created in HDFS? If yes, that could be at least one issue. Make sure the output folder does not exist in HDFS before running the job.
On 29 November 2010 16:15, Peter Haidinyak <[email protected]> wrote: > Hi, > > Well, I got my three servers up running hadoop version 0.20.2 with one of > the servers being the NameNode/JobTracker and the other two being data nodes. > The problems is when I try to run the wordcount example I get the following > exception. I hit <ctrl>c after a second since it takes awhile to timeout. > > Does anyone have an idea on this? > > > > Thanks > > > > -Pete > > > > [had...@caiss01a hadoop]$ hadoop jar hadoop-0.20.2-examples.jar wordcount > /input_logs/output.txt /tmp/result.out > > 10/11/24 15:58:09 INFO input.FileInputFormat: Total input paths to process : 1 > > 10/11/24 15:58:09 INFO mapred.JobClient: Running job: job_201011241548_0004 > > 10/11/24 15:58:10 INFO mapred.JobClient: map 0% reduce 0% > > 10/11/24 15:58:13 INFO mapred.JobClient: Task Id : > attempt_201011241548_0004_m_000009_0, Status : FAILED Error initializing > attempt_201011241548_0004_m_000009_0: > > java.util.zip.ZipException: error in opening zip file > > at java.util.zip.ZipFile.open(Native Method) > > at java.util.zip.ZipFile.<init>(ZipFile.java:114) > > at java.util.jar.JarFile.<init>(JarFile.java:133) > > at java.util.jar.JarFile.<init>(JarFile.java:97) > > at org.apache.hadoop.util.RunJar.unJar(RunJar.java:36) > > at > org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:815) > > at > org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1664) > > at > org.apache.hadoop.mapred.TaskTracker.access$1200(TaskTracker.java:97) > > at > org.apache.hadoop.mapred.TaskTracker$TaskLauncher.run(TaskTracker.java:1629) > > > > 10/11/24 15:58:13 WARN mapred.JobClient: Error reading task > outputhttp://caiss01b.epilotcolo.eliberation.com:50060/tasklog?plaintext=true&taskid=attempt_201011241548_0004_m_000009_0&filter=stdout > > 10/11/24 15:58:13 WARN mapred.JobClient: Error reading task > outputhttp://caiss01b.epilotcolo.eliberation.com:50060/tasklog?plaintext=true&taskid=attempt_201011241548_0004_m_000009_0&filter=stderr > > 10/11/24 15:58:16 INFO mapred.JobClient: Task Id : > attempt_201011241548_0004_m_000009_1, Status : FAILED Error initializing > attempt_201011241548_0004_m_000009_1: > > java.util.zip.ZipException: error in opening zip file > > at java.util.zip.ZipFile.open(Native Method) > > at java.util.zip.ZipFile.<init>(ZipFile.java:114) > > at java.util.jar.JarFile.<init>(JarFile.java:133) > > at java.util.jar.JarFile.<init>(JarFile.java:97) > > at org.apache.hadoop.util.RunJar.unJar(RunJar.java:36) > > at > org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:815) > > at > org.apache.hadoop.mapred.TaskTracker.startNewTask(TaskTracker.java:1664) > > at > org.apache.hadoop.mapred.TaskTracker.access$1200(TaskTracker.java:97) > > at > org.apache.hadoop.mapred.TaskTracker$TaskLauncher.run(TaskTracker.java:1629) > > > > 10/11/24 15:58:16 WARN mapred.JobClient: Error reading task > outputhttp://caiss01b.epilotcolo.eliberation.com:50060/tasklog?plaintext=true&taskid=attempt_201011241548_0004_m_000009_1&filter=stdout > > 10/11/24 15:58:16 WARN mapred.JobClient: Error reading task > outputhttp://caiss01b.epilotcolo.eliberation.com:50060/tasklog?plaintext=true&taskid=attempt_201011241548_0004_m_000009_1&filter=stderr > > [had...@caiss01a hadoop]$ > >
