[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907781#action_12907781
 ] 

Benjamin Darfler commented on MAPREDUCE-2056:
---------------------------------------------

Seeing the same issue, I get the following stack trace

prompt$ hadoop jar -libjar thirdPartyJar.jar mapreduce.jar input output

Exception in thread "main" java.io.IOException: Error opening job jar: -libjar
        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)


> run job options broken
> ----------------------
>
>                 Key: MAPREDUCE-2056
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2056
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: Ron Bodkin
>
> HADOOP-1622 was apparently broken in refactoring (I think in the refactoring 
> that removed JobShell) a few releases ago. e.g., running
> hadoop -libjars lib.jar main.jar Class 
> now tries to run -libjars as a library.
> It would be nice to fix this regression.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to