-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error processing /etc/kafka/zookeeper.properties.scale-5.pzoo-1 #335
Comments
/etc/kafka/zookeeper.properties.scale-5.pzoo-1 I don't know why zookeeper.properties is not getting this file from log. |
I am having the same issue The logs of the init-config container of zoo-1 Pod are:
From
Im running on k3s and rancher |
C:\Users\jae\Downloads\111\kafka_2.11-2.4.0\kafka_2.11-2.4.0\bin kafka2.4.1's directory is bin and config. Maybe this need to fix real directory What is the real path of the docker image's config and bin directory? |
Changing
However this is not a real solution, is it? |
After zookeeper-config.yml modification, it was started normally. Thank you. |
There is the same issue here, but it has been closed and has been reposted.
I followed the guide, and I got to the Pod's starting state normally.
However, the pod status fails.
NAME READY STATUS RESTARTS AGE
kafka-0 0/1 CrashLoopBackOff 45 3h35m
kafka-1 0/1 CrashLoopBackOff 45 3h35m
kafka-2 0/1 CrashLoopBackOff 45 3h35m
pzoo-0 0/1 CrashLoopBackOff 10 28m
pzoo-1 0/1 CrashLoopBackOff 10 28m
pzoo-2 0/1 CrashLoopBackOff 10 28m
zoo-0 0/1 CrashLoopBackOff 10 28m
zoo-1 0/1 CrashLoopBackOff 10 28m
The pod log.
[root@pstest01 kafka2]# kubectl logs pzoo-1 -n kafka2
[2020-10-30 08:41:02,645] INFO Reading configuration from: /etc/kafka/zookeeper.properties.scale-5.pzoo-1 (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2020-10-30 08:41:02,647] ERROR Invalid config, exiting abnormally (org.apache.zookeeper.server.quorum.QuorumPeerMain)
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /etc/kafka/zookeeper.properties.scale-5.pzoo-1
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:156)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:113)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)
Caused by: java.lang.IllegalArgumentException: /etc/kafka/zookeeper.properties.scale-5.pzoo-1 file is missing
at org.apache.zookeeper.server.util.VerifyingFileFactory.doFailForNonExistingPath(VerifyingFileFactory.java:51)
at org.apache.zookeeper.server.util.VerifyingFileFactory.validate(VerifyingFileFactory.java:45)
at org.apache.zookeeper.server.util.VerifyingFileFactory.create(VerifyingFileFactory.java:40)
at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:141)
... 2 more
It seems that we need to modify the zookeeper.properties related part of configmap.
But I don't know which of the many lines is the problem. Because the log only came out missing files.
zookeeper-config.yml was applied as it is.
The text was updated successfully, but these errors were encountered: