Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3712

Kafka smoke test failed with Zookeeper built with maven

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1
    • None
    • None

    Description

      Kafka's smoke-test with Zookeeper built by Bigtop failed with the error below.

      root@22dc76d5e6af:/# cat /var/log/kafka/server.log 
      [2022-06-30 06:01:40,446] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$)
      [2022-06-30 06:01:40,738] INFO Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation (org.apache.zookeeper.common.X509Util)
      [2022-06-30 06:01:40,796] INFO Registered signal handlers for TERM, INT, HUP (org.apache.kafka.common.utils.LoggingSignalHandler)
      [2022-06-30 06:01:40,799] INFO starting (kafka.server.KafkaServer)
      [2022-06-30 06:01:40,799] INFO Connecting to zookeeper on 22dc76d5e6af.bigtop.apache.org:2181 (kafka.server.KafkaServer)
      [2022-06-30 06:01:40,819] INFO [ZooKeeperClient Kafka server] Initializing a new session to 22dc76d5e6af.bigtop.apache.org:2181. (kafka.zookeeper.ZooKeeperClient)
      [2022-06-30 06:01:40,822] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
      java.lang.NoClassDefFoundError: org/apache/jute/Record
              at kafka.zookeeper.ZooKeeperClient.<init>(ZooKeeperClient.scala:116)
              at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1948)
              at kafka.server.KafkaServer.createZkClient$1(KafkaServer.scala:431)
              at kafka.server.KafkaServer.initZkClient(KafkaServer.scala:456)
              at kafka.server.KafkaServer.startup(KafkaServer.scala:191)
              at kafka.Kafka$.main(Kafka.scala:109)
              at kafka.Kafka.main(Kafka.scala)
      Caused by: java.lang.ClassNotFoundException: org.apache.jute.Record
              at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
              ... 7 more
      [2022-06-30 06:01:40,823] INFO shutting down (kafka.server.KafkaServer)
      [2022-06-30 06:01:40,827] INFO App info kafka.server for -1 unregistered (org.apache.kafka.common.utils.AppInfoParser)
      [2022-06-30 06:01:40,827] INFO shut down completed (kafka.server.KafkaServer)
      [2022-06-30 06:01:40,827] ERROR Exiting Kafka. (kafka.Kafka$)
      [2022-06-30 06:01:40,828] INFO shutting down (kafka.server.KafkaServer) 

      Attachments

        Issue Links

          Activity

            People

              yoda-mon Leona Yoda
              yoda-mon Leona Yoda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m