hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Kelsey <da...@gamehouse.com>
Subject datanode failing to start.
Date Wed, 04 Jan 2012 22:37:29 GMT

java version 1.6.0_29

I'm attempting to setup the pseudo-distributed config on a mac 10.6.8.
I followed the steps from the QuickStart 
(http://wiki.apache.org./hadoop/QuickStart) and succeeded with Stage 1: 
Standalone Operation.
I followed the steps for Stage 2: Pseudo-distributed Configuration.
I set the JAVA_HOME variable in conf/hadoop-env.sh and I changed 
tools.jar to the location of classes.jar (a mac version of tools.jar)
I've modified the three .xml files as described in the QuickStart.
ssh'ing to localhost has been configured and works with passwordless 
I formatted the namenode with "bin/hadoop namenode -format" as the 
instructions say

This is what I see when I run bin/start-all.sh

root# bin/start-all.sh
starting namenode, logging to 
localhost: starting datanode, logging to 
localhost: Exception in thread "main" java.lang.NoClassDefFoundError: server
localhost: Caused by: java.lang.ClassNotFoundException: server
localhost:     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
localhost:     at java.security.AccessController.doPrivileged(Native Method)
localhost:     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
localhost:     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
localhost:     at 
localhost:     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
localhost: starting secondarynamenode, logging to 
starting jobtracker, logging to 
localhost: starting tasktracker, logging to 

There are 4 processes running:
ps -fax | grep hadoop | grep -v grep | wc -l

They are:

I've searched to see if anyone else has encountered this and not found 

Dave Kelsey

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message