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

bin/kafka-metadata-shell.sh cannot find or load main class org.apache.kafka.shell.MetadataShell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 2.8.0
    • core
    • None
    • Ubuntu, Java 11

    Description

      With the latest release candidate for 2.8.0, the binaries from the Scala 2.13 and 2.12 tarballs are not finding the class for the meta data shell from the classpath 
      https://home.apache.org/~vvcephei/kafka-2.8.0-rc1/
       
      kafka-run-class.sh is not able to load it.
       
      cd ../kafka_2.12-2.8.0$
       
       bin/kafka-metadata-shell.sh --help
      Error: Could not find or load main class org.apache.kafka.shell.MetadataShell
      Caused by: java.lang.ClassNotFoundException: org.apache.kafka.shell.MetadataShell

      cd ../kafka_2.13-2.8.0/

      bin/kafka-metadata-shell.sh --help
      Error: Could not find or load main class org.apache.kafka.shell.MetadataShell
      Caused by: java.lang.ClassNotFoundException: org.apache.kafka.shell.MetadataShell

       

      Attachments

        Issue Links

          Activity

            People

              ijuma Ismael Juma
              iekpo Israel Ekpo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: