Hello,

I'm trying to get Hadoop working on Cygwin/Windows XP in
Pseudo-Distributed Mode.  I downloaded version 0.21.0 and unpacked it
to a cygwin directory.  I'm following the quickstart directions here:
http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html


I get the following error when I try to check the Hadoop version:


$ bin/hadoop --version
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/hadoop/util/PlatformName
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.PlatformName

        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:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.hadoop.util.PlatformName.  Program wil
l exit.
Unrecognized option: --version
Could not create the Java virtual machine.


I get similar exceptions when I run "start-all.sh", but I am still
able to browse the web interface for NameNode and JobTracker.

I'm sure has something to do with an installation step that I'm
missing--some step that windows users have to do, that linux users do
not.  I did web searches for this problem, but I only found it
occurring when people were building Hadoop.  I'm not building.

I appreciate any help anyone can give.

Thanks,
Chris

Reply via email to