hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Eng <a...@maprtech.com>
Subject Re: Single setup documentation error
Date Tue, 09 Nov 2010 22:26:55 GMT
>bin/hadoop jar hadoop-*-examples.jar grep input
output 'dfs[a-z]+'

Have you tried specifying the actual file name instead of the using the '*'
wildcard?

On Tue, Nov 9, 2010 at 2:10 PM, Fabio A. Miranda
<fabio.a.miranda@gmail.com>wrote:

> Give a fresh installation, I followed the Single Node Setup doc from
> hadoop website and it throws an error:
>
> fabio@nodo1:~/hadoop$ mkdir input
> fabio@nodo1:~/hadoop$ cp conf/*.xml input
> fabio@nodo1:~/hadoop$ bin/hadoop jar hadoop-*-examples.jar grep input
> output 'dfs[a-z]+'
> Exception in thread "main" java.io.IOException: Error opening job jar:
> hadoop-*-examples.jar
>        at org.apache.hadoop.util.RunJar.main(RunJar.java:130)
> 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:128)
> fabio@nodo1:~/hadoop$ file hadoop-*-examples*
> hadoop-mapred-examples-0.21.0.jar: Zip archive data, at least v1.0 to
> extract
> fabio@nodo1:~/hadoop$
>
>
> should I open a jira bug for this ?
>
> thanks for all the help,
>
> --
> Fabio A. Miranda
> fabiomiranda@ice.co.cr
> +506 8354.0324
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message