You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2011/08/05 02:22:27 UTC

[jira] [Commented] (KAFKA-81) wrong path in bin/kafka-run-class.sh

    [ https://issues.apache.org/jira/browse/KAFKA-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079701#comment-13079701 ] 

Neha Narkhede commented on KAFKA-81:
------------------------------------

It will be great to improve the release-zip target in sbt. The following should be the contents of the zip file, created by the ./sbt release-zip file. 

kafka
|_bin            (all scripts that are required to get kafka up and running, also includes various scripts hidden in contrib, java-examples and perf)
|_config       (all related config files )
|_lib             (all dependent libraries required by various scripts in bin)
|_kafka-x.x.jar
|_kafka-java-examples-x.x.jar
|_kafka-perf-x.x.jar
|_hadoop-consumer_x.x.jar
|_hadoop-producer-x.x.jar


> wrong path in bin/kafka-run-class.sh 
> -------------------------------------
>
>                 Key: KAFKA-81
>                 URL: https://issues.apache.org/jira/browse/KAFKA-81
>             Project: Kafka
>          Issue Type: New Feature
>          Components: packaging
>    Affects Versions: 0.6
>            Reporter: Chris Burroughs
>
> https://github.com/kafka-dev/kafka/issues/28
> {{monospace}}
> I just downloaded the official 0.6 archive:
> https://github.com/downloads/kafka-dev/kafka/kafka-0.6.zip
> and tried starting zookeeper / kafka.
> The above archive will extract the deps into a dir called "libs", but in bin/kafka-run-class.sh there's a loop to add the jars in "lib" to the classpath:
> for file in $base_dir/lib/*.jar;
> do
>   CLASSPATH=$CLASSPATH:$file
> done
> It's a little more complicated then that. The tarball also places kafka-0.6.jar in the root of the directory, where no scripts look. config does not seem to have the log4j properties files, which makes zookeeper sad.
> {{monospace}}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira