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 vaibhav28 <va...@in.com> on 2011/10/02 08:04:26 UTC
regarding the ioexception in java
hello, i m vaibhav..i m a student and i m new to the hadoop.plz any one can
help me out.i get the following error when i try to run the wordcount
examples.i follow the steps on site
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/............plz
help me out.......
hduser@vaibhav-Studio-1558:/usr/local/hadoop$ bin/hadoop jar
hadoop-examples-0.20.203.0.jar wordcount /home/hduser/gutenberg
/home/hduser/gutenberg-output
Exception in thread "main" java.io.IOException: Error opening job jar:
hadoop-examples-0.20.203.0.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.(ZipFile.java:127)
at java.util.jar.JarFile.(JarFile.java:135)
at java.util.jar.JarFile.(JarFile.java:72)
at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
--
View this message in context: http://old.nabble.com/regarding-the-ioexception-in-java-tp32576617p32576617.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.
Re: regarding the ioexception in java
Posted by Sofia Georgiakaki <ge...@yahoo.com>.
Good morning!
Check again the name and path of your jar file. I guess you don't spell it correct when you write the command so hadoop cannot find it, as indicated by this message:
Error opening job jar: hadoop-examples-0.20.203.0.jar
Good luck
Sofia
________________________________
From: vaibhav28 <va...@in.com>
To: core-user@hadoop.apache.org
Sent: Sunday, October 2, 2011 9:04 AM
Subject: regarding the ioexception in java
hello, i m vaibhav..i m a student and i m new to the hadoop.plz any one can
help me out.i get the following error when i try to run the wordcount
examples.i follow the steps on site
http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/............plz
help me out.......
hduser@vaibhav-Studio-1558:/usr/local/hadoop$ bin/hadoop jar
hadoop-examples-0.20.203.0.jar wordcount /home/hduser/gutenberg
/home/hduser/gutenberg-output
Exception in thread "main" java.io.IOException: Error opening job jar:
hadoop-examples-0.20.203.0.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.(ZipFile.java:127)
at java.util.jar.JarFile.(JarFile.java:135)
at java.util.jar.JarFile.(JarFile.java:72)
at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
--
View this message in context: http://old.nabble.com/regarding-the-ioexception-in-java-tp32576617p32576617.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.
Re: regarding the ioexception in java
Posted by "J.Mohamed Zahoor" <za...@zahoor.in>.
Hi
Give the input and output paths in HDFS.
./Zahoor
On 02-Oct-2011, at 11:34 AM, vaibhav28 <va...@in.com> wrote:
>
> hello, i m vaibhav..i m a student and i m new to the hadoop.plz any one can
> help me out.i get the following error when i try to run the wordcount
> examples.i follow the steps on site
> http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/............plz
> help me out.......
>
>
> hduser@vaibhav-Studio-1558:/usr/local/hadoop$ bin/hadoop jar
> hadoop-examples-0.20.203.0.jar wordcount /home/hduser/gutenberg
> /home/hduser/gutenberg-output
> Exception in thread "main" java.io.IOException: Error opening job jar:
> hadoop-examples-0.20.203.0.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.(ZipFile.java:127)
> at java.util.jar.JarFile.(JarFile.java:135)
> at java.util.jar.JarFile.(JarFile.java:72)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
> --
> View this message in context: http://old.nabble.com/regarding-the-ioexception-in-java-tp32576617p32576617.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.