hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HADOOP-8950) Unable to run demo example hadoop program
Date Mon, 22 Oct 2012 12:26:12 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Steve Loughran resolved HADOOP-8950.

    Resolution: Invalid

You're giving an absolute path /bin/hadoop-0.20.2-examples.jar when you should be giving a
relative one. 

Please, please please look at the stack traces before filing JIRAs, as if something works
for everyone else but you, it's usually something happening at your end.
> Unable to run demo example hadoop program
> -----------------------------------------
>                 Key: HADOOP-8950
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8950
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Farhat Khan
> hduser@ubuntu:~/hadoop$ hadoop jar /bin/hadoop-0.20.2-examples.jar
> Exception in thread "main" java.io.IOException: Error opening job jar: /bin/hadoop-0.20.2-examples.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:127)
> 	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)
> hduser@ubuntu:~/hadoop$ 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message