kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Inder Pall <inder.p...@gmail.com>
Subject Issue with starting scripts
Date Wed, 19 Oct 2011 09:17:48 GMT
All,

I downloaded the release 0.6.RC2 from
http://sna-projects.com/kafka/downloads.php
tried starting zookeeper and hit the wall

./bin/kafka-run-class.sh: line 27: [: too many arguments
./bin/kafka-run-class.sh: line 39: [: too many arguments
:./bin/../project/boot/scala-2.8.0/lib/*.jar:./bin/../core/target/scala_2.8.0/*.jar:./bin/../core/lib/*.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/zookeeper/server/quorum/QuorumPeerMain
Caused by: java.lang.ClassNotFoundException:
org.apache.zookeeper.server.quorum.QuorumPeerMain
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

looks like kafka-run-class.sh is setting the classpath to
":./bin/../project/boot/scala-2.8.0/lib/*.jar:./bin/../core/target/scala_2.8.0/*.jar:./bin/../core/lib/*.jar"

however "project", "core/target", "core" aren't bundled inside the ZIP. They
seem to be part of the code-base.

Is this a valid supported binary distribution or are we supposed to co from
svn and run it from there, since the classpath in the script seems to be
expecting these directories.

Am i missing anything here?

-- 
-- Inder

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