solved by specifying the config directory by  adding --config /conf .

bin/hadoop --config /conf namenode -format
bin/hadoop --config /conf version

Regards;





________________________________
From: Ahmad Al-Amri <amri...@yahoo.com>
To: Nutch User <nutch-user@lucene.apache.org>
Sent: Thu, April 1, 2010 2:02:37 PM
Subject: Nutch with Hadoop in windows;;

Hello ;

I'm trying to use Nutch and Hadoop shown here: 
http://wiki.apache.org/nutch/NutchHadoopTutorial 

but I am using Windows 2003 ...

I am trying to run this command in cygwin "bin/hadoop namenode -format" and 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 

also I got the same exception when try to run "bin/hadoop version"..

What may cause this problem? 

Thanks;


      

Reply via email to