KeeperErrorCode = NoNode for/admin/preferred_replica_election [英] KeeperErrorCode = NoNode for /admin/preferred_replica_election

查看:167
本文介绍了KeeperErrorCode = NoNode for/admin/preferred_replica_election的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动 kafka 时,zookeeper 发生错误.

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)

推荐答案

请注意,这不是错误,它只是 zookeeper 上的日志警告.但是 kafka-producer 不会能够在第一次运行时向主题生成消息.但将在后续试验中......同时使用 kafka-node 库.

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.

这篇关于KeeperErrorCode = NoNode for/admin/preferred_replica_election的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆