hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soheila Dehghanzadeh <sally...@gmail.com>
Subject hadoop jar error
Date Thu, 02 Aug 2012 09:36:27 GMT
Hi All,
I'm trying to run my jar file which is assembled by maven. This way, when
i'm using this command
 hadoop/bin/hadoop jar /user/soheila/mymvnproj/target/assembly.jar
i got the following error
Exception in thread "main" java.io.IOException: Error opening job 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:135)
        at java.util.jar.JarFile.<init>(JarFile.java:72)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
I tried assembling and packaging my jar again but the error persists.
Any comment is greatly appreciated :)

-Soheila D.

View raw message