Hi,

I just download cloudera training virtual machine and tryed to run the
sample

I'm getting the following exception  :

train...@training-vm:~/git/pristine-workspace/Hadoop/bin$ hadoop jar
$HADOOP_HOME/hadoop-*-examples.jar grep
java.io.IOException: Error opening job jar: /hadoop-*-examples.jar
    at org.apache.hadoop.util.RunJar.main(RunJar.java:90)
    at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
    at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
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:133)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:88)
    ... 4 more


I tryed then to see the value of $HADOOP_HOME with echo and I didn't see any
value.

I begin to search where the root directory of hadoop was but didn't find it

Any idea ?

Thanks !

Alexandre Jaquet

Reply via email to