kafka重启报错[2021-11-19 16:00:07,685] ERROR Processor got uncaught exception. (kafka.network.Processor)

kafka重启报错[2021-11-19 16:00:07,685] ERROR Processor got uncaught exception. (kafka.network.Processor),第1张

kafka重启报错[2021-11-19 16:00:07,685] ERROR Processor got uncaught exception. (kafka.network.Processor)

[2021-11-19 16:00:07,685] ERROR Processor got uncaught exception. (kafka.network.Processor)
java.lang.NoClassDefFoundError: Could not initialize class kafka.network.RequestChannel$
at kafka.network.RequestChannel R e q u e s t . < i n i t > ( R e q u e s t C h a n n e l . s c a l a : 124 ) a t k a f k a . n e t w o r k . P r o c e s s o r Request.(RequestChannel.scala:124) at kafka.network.Processor Request.(RequestChannel.scala:124)atkafka.network.Processor a n o n f u n anonfun anonfunprocessCompletedReceives 1. a p p l y ( S o c k e t S e r v e r . s c a l a : 518 ) a t k a f k a . n e t w o r k . P r o c e s s o r 1.apply(SocketServer.scala:518) at kafka.network.Processor 1.apply(SocketServer.scala:518)atkafka.network.Processor a n o n f u n anonfun anonfunprocessCompletedReceives 1. a p p l y ( S o c k e t S e r v e r . s c a l a : 511 ) a t s c a l a . c o l l e c t i o n . I t e r a t o r 1.apply(SocketServer.scala:511) at scala.collection.Iterator 1.apply(SocketServer.scala:511)atscala.collection.Iteratorclass.foreach(Iterator.scala:891)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at kafka.network.Processor.processCompletedReceives(SocketServer.scala:511)
at kafka.network.Processor.run(SocketServer.scala:436)
at java.lang.Thread.run(Thread.java:748)

解决,kill正在运行的进程,修改/etc/hosts配置
启动进程,解决
./kafka-server-start.sh -daemon …/config/server.properties

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5575055.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存