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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: core
    • Labels:
      None
    • Environment:
      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

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              iekpo Israel Ekpo

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment