[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.
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
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)