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
- is related to
-
BIGTOP-3669 Use maven instead of ant to build ZooKeeper
- Resolved
- relates to
-
BIGTOP-3724 Increment the release number of ZooKeeper and Kafka
- Resolved
- links to