hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: wordcount program-execution problem
Date Sat, 20 Feb 2010 14:55:09 GMT
You can notice that absolute path to jar is used in
http://hadoop.apache.org/common/docs/current/mapred_tutorial.html#Usage:
  bin/hadoop jar /usr/joe/wordcount.jar

It's CLASSPATH issue.

On Sat, Feb 20, 2010 at 12:29 AM, janani venkat <janani.cse06@gmail.com>wrote:

> I tried executing the wordcount.java code but repeatedly gettin the
> following error. It is compiling properly.
>
> bin/hadoop jar wordcount.jar org.sogou.WordCount in out
>
> Exception in thread "main" java.io.IOException: Error opening job jar:
> wordcount.jar
>    at org.apache.hadoop.util.RunJar.main(RunJar.java:90)
> Caused by: 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:70)
>    at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
>
> Can someone help me out?
>
> Regards
> Janani
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message