Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-81

wrong path in bin/kafka-run-class.sh

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.8.0
    • Component/s: packaging
    • Labels:
      None

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cburroughs Chris Burroughs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: