Hey Alexandre,
You should post these questions here:
<http://www.getsatisfaction.com/cloudera/products/cloudera_hadoop_training>
As for the problem, there's a bug in our VM where we don't set
$HADOOP_HOME. Run the following command, then try to run the grep job
again:
export HADOOP_HOME=/usr/lib/hadoop
(You may also want to put this command in ~/.bashrc as well.)
This will be fixed pretty soon. Sorry for the inconvenience.
Alex
On Fri, Jun 12, 2009 at 9:12 AM, Nitay <nitayj@gmail.com> wrote:
> 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 <alexjaquet@gmail.com
> >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.<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
> >
>
|