KeeperErrorCode = NoNode for /admin/preferred_replica_election

Lehman He picture Lehman He · Jul 19, 2016 · Viewed 17.5k times · Source

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)

Answer

dps picture dps · Nov 27, 2017

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.