Thanks all problem is resolved now. Issues is the same, jar file is in HDFSwhich logically is wrong. Krishna. Hi Krishna,
You get this error when the jar file cannot be found. It looks like /user/hadoop/hadoop-0.18.0-examples.jar is an HDFS path, when in fact it should be a local path. Cheers, Tom On Thu, Jun 25, 2009 at 9:43 AM, krishna prasanna<svk_prasa...@yahoo.com> wrote: > Oh! thanks Shravan > > Krishna. > > > > ________________________________ > From: Shravan Mahankali <shravan.mahank...@catalytic.com> > To: core-user@hadoop.apache.org > Sent: Thursday, 25 June, 2009 1:50:51 PM > Subject: RE: Unable to run Jar file in Hadoop. > > 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 > > > Cricket on your mind? Visit the ultimate cricket website. Enter > http://cricket.yahoo.com ________________________________ From: Tom White <t...@cloudera.com> To: core-user@hadoop.apache.org Cc: shravan.mahank...@catalytic.com Sent: Thursday, 25 June, 2009 2:54:36 PM Subject: Re: Unable to run Jar file in Hadoop. Love Cricket? Check out live scores, photos, video highlights and more. Click here http://cricket.yahoo.com