AnsweredAssumed Answered

Error while formating Namenode in hadoop 2.2.0

Question asked by ayush on Jun 21, 2014
Latest reply on Jul 5, 2014 by Ted Dunning
I am getting below error while formatting name node
java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/server/namenode/NameNode
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hdfs.server.namenode.NameNode
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
Could not find the main class: org.apache.hadoop.hdfs.server.namenode.NameNode.  Program will exit.
Exception in thread "main"


Please let me know how to resolve it?