Hello
I'm trying to deploy Nutch and Hadoop like it's shown here:
http://wiki.apache.org/nutch/NutchHadoopTutorial
The difference is that I use Win XP.
After typing in Cygwin "bin/hadoop namenode -format" I get the following
exceptions:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/util/PlatformName
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/dfs/NameNode

I make sure that this class exists in the hadoop package (i.e. in the
file lib/hadoop-0.12.2-core.jar). Furthermore the following command
works without any exceptions:
 
java -cp
"lib/hadoop-0.12.2-core.jar;lib/commons-logging-1.0.4.jar;lib/log4j-1.2.
13.jar" org.apache.hadoop.dfs.NameNode -format

What may cause this problem?
Thank you

Reply via email to