I should mention that i assembled and packaged my jar file on my server
using maven and then moved the entire project directory to that hdfs. and
then tried running the assembled jar.

On Thu, Aug 2, 2012 at 10:36 AM, Soheila Dehghanzadeh <sally...@gmail.com>wrote:

> 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:
> /user/soheila/mymvnproj/target/assembly.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 :)
>
> -Peace.
> -Soheila D.
>

Reply via email to