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

[jira] [Updated] (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:all-tabpanel ]

Chris Burroughs updated KAFKA-81:
---------------------------------

    Description: 
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}}


  was:
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}



> 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