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
-
Re: Quickstart Problem re: Zookeeper
Russell Jurney 2011-12-15, 03:00
To answer my own question, the example works with the download from
http://sna-projects.com/kafka/downloads/kafka-0.6.zip

On Wed, Dec 14, 2011 at 6:53 PM, Russell Jurney <[EMAIL PROTECTED]>wrote:

> 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
>

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