KeeperErrorCode = NoNode for /admin/preferred_replica_election
Asked Answered
D

2

17

when i starting kafka,zookeeper happens error.

INFO Got user-level KeeperException when processing sessionid:0x156028651c00001 type:delete cxid:0x1b zxid:0x59 txntype:-1 reqpath:n/a Error Path:/admin/preferred_replica_election Error:KeeperErrorCode = NoNode for /admin/preferred_replica_election (org.apache.zookeeper.server.PrepRequestProcessor)
Durstin answered 19/7, 2016 at 9:52 Comment(1)
A similar question (tl;dr it's not an error, just an info log) - #43559828Gurgle
B
6

Please be informed that this is not an error it is just a log warning on zookeeper .Howeaver the kafka-producer will not be able to produce messages to the topic on the first go.But will be on the subsequent trials.......while using a kafka-node library.

Bingle answered 27/11, 2017 at 6:39 Comment(0)
A
5

Are you running on single node with replication 1? Then it should not bother you. You can read more about it here https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools

Exceptions can also be seen for znode path /brokers/ids or /brokers because they are not present(on zookeeper) initially when you start the kafka-server.

Arvie answered 27/7, 2016 at 10:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.