Dude
check from where you fired Hadoop command. $HADOOP_HOME/bin/Hadoop namenode -format Regards Vikas srivastava From: Ambreen Mahvash [mailto:ambreen.mahv...@appsassociates.com] Sent: Wednesday, June 27, 2012 3:02 PM To: common-user@hadoop.apache.org Subject: Error while configuring Hadoop 1.3.0 on windows XP using Cygwin Hi , Hi, I tried to configure hadoop 1.0.3 .I added all libs from share folder to lib directory.But still i get the error while formatting the namenode $ ./hadoop namenode -format java.lang.NoClassDefFoundError: Caused by: java.lang.ClassNotFoundException: at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) . Program will exit.in class: Exception in thread "main" Can you please help me out with this. Inline image 1 Ambreen Mahvash | Staff Consultant. Oracle Business Intelligence | Apps Associates Pvt. Ltd, India Office: +91-40-3021-2601 |Cell: +91-967-686-9333 |Fax: 40-3021-2706 www.appsassociates.com <http://www.appsassociates.com/> _____ This message, together with any attachments, contains information of Apps Associates which may be confidential, proprietary and/or legally privileged. It may be read, copied and used only for business purpose relevant to the email by the intended recipient. If you have received it in error, please notify the sender immediately and then delete it without making any copies or disclosing it to any other person. Any unauthorized copying, disclosure or distribution of this message is strictly prohibited.