hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soheila Dehghanzadeh <sally...@gmail.com>
Subject Re: hadoop jar error
Date Thu, 02 Aug 2012 10:49:25 GMT
already sorted !
I needed to keep the source jar in the local fs and only transfer input
data into the hdfs. the error arises because it was looking for the jar
file on the local file system :)


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

> 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.de@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.
>>
>
>

Mime
View raw message