Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Quickstart Problem re: Zookeeper


Copy link to this message
-
Quickstart Problem re: Zookeeper
Russell Jurney 2011-12-15, 02:53
I'm having a problem with step 1 of the Quickstart guide at
http://incubator.apache.org/kafka/quickstart.html using code from github:
https://github.com/kafka-dev/kafka.git

russell-jurneys-macbook-pro:kafka rjurney$ bin/zookeeper-server-start.sh
config/zookeeper.properties

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Logger
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.<clinit>(QuorumPeerMain.java:62)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
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)
... 1 more
What am I doing wrong?  I tried adding commons logging to my CLASSPATH, but
it doesn't help.

Thanks,

--
Russell Jurney
twitter.com/rjurney
[EMAIL PROTECTED]
datasyndrome.com