Is your jar file in local file system or hdfs?
The jar file should be in local fs.

Thanks
Amareshwari
Shravan Mahankali wrote:
Am as well having similar... there is no solution yet!!!

Thank You,
Shravan Kumar. M Catalytic Software Ltd. [SEI-CMMI Level 5 Company]
-----------------------------
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system
administrator - netopshelpd...@catalytic.com

-----Original Message-----
From: krishna prasanna [mailto:svk_prasa...@yahoo.com] Sent: Thursday, June 25, 2009 1:01 PM
To: core-user@hadoop.apache.org
Subject: Unable to run Jar file in Hadoop.

Hi, When i am trying to run a Jar in Hadoop, it is giving me the following error had...@krishna-dev:/usr/local/hadoop$ bin/hadoop jar /user/hadoop/hadoop-0.18.0-examples.jar java.io.IOException: Error opening job jar:
/user/hadoop/hadoop-0.18.0-examples.jar
    at org.apache.hadoop.util.RunJar.main(RunJar.java:90)
    at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
    at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
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)
    ... 4 more
Here is the file permissions,
 rw-r--r-   2 hadoop supergroup      91176 2009-06-25 12:49
/user/hadoop/hadoop-0.18.0-examples.jar
Some body help me on this Thanks in advance,
Krishna.


      Cricket on your mind? Visit the ultimate cricket website. Enter
http://cricket.yahoo.com


Reply via email to