hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin D'Elia <delia.ke...@yahoo.com>
Subject Fwd: class not found on namenode/datanode startup
Date Tue, 19 Nov 2013 13:59:50 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

I have configured hadoop install according to instructions I found on
the internet; when I start hadoop namenode/datanode, I get:

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" ulimit -a for user kdelia
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
open files                      (-n) 256
pipe size            (512 bytes, -p) 8
stack size              (kbytes, -s) 2024
cpu time               (seconds, -t) unlimited
max user processes              (-u) 256
virtual memory          (kbytes, -v) unlimited


hadoop classpath shows me:

/home/kdelia/yarn/hadoop-2.2.0/etc/hadoop:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/common/lib/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/common/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/hdfs:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/hdfs/lib/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/hdfs/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/yarn/lib/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/yarn/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/mapreduce/lib/*:/home/kdelia/yarn/hadoop-2.2.0/share/hadoop/mapreduce/*:/home/kdelia/yarn/hadoop-2.2.0/contrib/capacity-scheduler/*.jar


So, it appears that the libraries needed by the services can be found.
 Not sure why I am getting the class not found exception.

I am using instructions from this site:

http://raseshmori.wordpress.com/2012/09/23/install-hadoop-2-0-1-yarn-nextgen/

Thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSi27WAAoJEIqFaT7R0oyMviwH/j+7398y+e+iHUILpPdxa4UW
gYYh5OBPk+Ae8N1I+a5OsUOoZxxkcET2vZIChgbRe/S3k8xullrUYj5Y4rLHT8AF
mDL/7U2+hpCX3E1TJeCetI/uyVgqtVsEyU6pwocYmnc7zIh3YpzFvahO40q7Iik9
4I5AHi6yFfmvHxdni/ZOgf/B8NS8NLVhmHxZcRFliXYZVyJsBTBpacTq8BY49i8n
gGod7eIu/NZ6HuYJqn+vfrPhopfMFVKOAWy510KlbAarFm22KXOQTHciiIAqML6O
+ChhE5mz1G2Oo5qYMvoi0/TxT+vTC5rOGCZ6sQn3/R4s0NvXJOwbdynSJGWSnbc=
=2fuf
-----END PGP SIGNATURE-----

Mime
View raw message