hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Errors running Hadoop 2.2.0 on Cygwin
Date Mon, 25 Nov 2013 18:43:06 GMT
Can you show us the classpath ?

Cheers


On Tue, Nov 26, 2013 at 2:40 AM, Srinivas Chamarthi <
srinivas.chamarthi@gmail.com> wrote:

> I have the following error while running 2.2.0 using cygwin. anyone can
> help with the problem ?
>
> /cygdrive/c/hadoop-2.2.0/bin
> $ ./hdfs namenode -format
> java.lang.NoClassDefFoundError:
> org/apache/hadoop/hdfs/server/namenode/NameNode
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.hdfs.server.namenode.NameNode
>         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)
> Could not find the main class:
> org.apache.hadoop.hdfs.server.namenode.NameNode.  Program will exit.
> Exception in thread "main"
>
>
>

Mime
View raw message