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<[email protected]> wrote: > Oh! thanks Shravan > > Krishna. > > > > ________________________________ > From: Shravan Mahankali <[email protected]> > To: [email protected] > 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 - [email protected] > > -----Original Message----- > From: krishna prasanna [mailto:[email protected]] > Sent: Thursday, June 25, 2009 1:01 PM > To: [email protected] > 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 <[email protected]> To: [email protected] Cc: [email protected] 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
