I have installed hadoop-2.4.0 in my 14.04 LTS,
I have followed this link, I have done upto start and stop services successfully,
but when I tried to execute example,
$ /bin/hadoop jar hadoop*examples*.jar wordcount /user/hduser/gutenberg /user/hduser/gutenberg-output
and I am getting response as,
Not a valid JAR: /hadoop*examples*.jar
I have installed JAVA 7(i.e JDK 1.7) and when I used Hadoop-1.0.3 it works fine.
Problem cause when I try to execute with Hadoop-2.4.0.
From this tutorial my system differ the following,
- I am using JAVA 7 instead of JAVA 6.
- I am using Hadoop 2.4.0 instead of Hadoop-1.0.3
- I am usinh Ubuntu 14.04 instead of Ubuntu 10.04.
And I can successfully execute HAdoop-1.0.3 with JAVA 7 on 14.04.
My question why can't I run the same for Hadoop-2.4.0.