I solved this by runing the sample by replacing the $HADOOP_PATH within /usr/lib/hadoop/ 2009/6/12 Nitay > Hi Alexandre, > > I'd recommend you contact Cloudera directly (info@cloudera.com or > training@cloudera.com). Also you can try the Hadoop list ( > core-user@hadoop.apache.org). This type of questions belongs better with > them. > > Cheers, > -n > > On Fri, Jun 12, 2009 at 8:47 AM, Alexandre Jaquet >wrote: > > > Hi, > > > > I just download cloudera training virtual machine and tryed to run the > > sample > > > > I'm getting the following exception : > > > > training@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.(ZipFile.java:114) > > at java.util.jar.JarFile.(JarFile.java:133) > > at java.util.jar.JarFile.(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 > > >