kafka.common.InconsistentClusterIdException: The Cluster ID doesn‘t match stored clusterId Some()
一 问题描述
kafka启动失败,报错:
[2021-05-10 11:22:43,263] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
kafka.common.InconsistentClusterIdException: The Cluster ID VLPFfY-WQkWmK7X9_C1aHQ doesn't match stored clusterId Some(0TVA9OzOTzCGMTqY50sBKA) in meta.properties. The broker is trying to join the wrong cluster. Configured zookeeper.connect may be wrong.
at kafka.server.KafkaServer.startup(KafkaServer.scala:220)
at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44)
at kafka.Kafka$.main(Kafka.scala:84)
at kafka.Kafka.main(Kafka.scala)
二 出错原因
我刚迁移zookeeper dataDir目录了。
三 解决办法
cd /tmp/kafka-logs #kafka的Log.dirs路径
cp meta.properties meta.properties_bak
修改 meta.properties中的cluster.id值,示例:
我这里将0TVA9OzOTzCGMTqY50sBKA改成了VLPFfY-WQkWmK7X9_C1aHQ
四 总结
迁移zookeeper目录的话,也要修改meta.properties中的cluster.id值
kafka.common.InconsistentClusterIdException: The Cluster ID doesn‘t match stored clusterId Some()相关推荐
- kafka启动失败The Cluster ID *** doesn‘t match stored clusterId Some(***) in meta.properties The broker
前言: 启动kafka遇到问题,就是应用启动没有进行消费kafka数据导致,应用无数据入库,需要排查下问题: 1.对kafka进行重启设置,添加 startup.sh nohup bin/kafka ...
- kafka.common.InconsistentClusterIdException: The Cluster ID 8ytUwdxNRXqINczxiKozcA doesn‘t match sto
因为启动中致命的异常而退出kafka [2022-10-13 17:23:48,759] ERROR Exiting Kafka due to fatal exception during start ...
- kafka报错:The Cluster ID doesn‘t match stored clusterId Some in meta.properties
kafka启动报错: ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServ ...
- kafka启动报错:kafka.common.InconsistentClusterIdException: The Cluster ID KtS-r0FATSudTYqgf-7Ifw doesn‘t
三 解决办法 cd /tmp/kafka-logs #kafka的Log.dirs路径 修改 meta.properties中的cluster.id值 KtS-r0FATSudTYqgf-7Ifw : ...
- kafka启动异常:kafka.common.InconsistentClusterIdException: The Cluster ID xxx
当出现这个错误时,从以下两个角度排查: (1)zk集群是否运行正常: (2)kafka的logs.dir数据目录是否为空(在初次安装时可直接删除掉该目录,但已有生产数据不要这么操作)
- kafka启动失败 The Cluster ID doesn‘t match...
The Cluster ID doesn't match stored clusterId Some(6X43Sf6hSjifObu_Kc023w) in meta.properties. The b ...
- kafka报错 The Cluster ID yjMbix25TJ6VpXSNceA72w doesn‘t match stored clusterId Some(yqcsYK4cSJKkhfu6k
@[TOC](The Cluster ID yjMbix25TJ6VpXSNceA72w doesn't match stored clusterId Some(yqcsYK4cSJKkhfu6kR0 ...
- Kafka启动异常:kafka.common.InconsistentClusterIdException
注意: kafka集群部署在zookeeper集群之上的,启动kafka之前应该先启动zookeeper 异常: 当Kafka出现异常时,强行关闭kafka集群或zookeeper集群时,重新启动时经 ...
- The Cluster ID xxx doesn't match stored clusterId Some(xxx) in meta.properties. The broker is trying
今天在启动kafka集群的时候报了如下错误 ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.serve ...
最新文章
- 访问其他应用程序的Activity
- C# 3.0入门系列
- 机器学习-数据科学库(第一天)
- Acess link
- Hadoop--初识Hadoop
- mysql故障排查思路_Mysql高负载排查思路
- myisam读取速度为什么比innodb快_为什么MySQL用B+树做索引
- java 拦截器的作用?
- FE - Vue 使用 XLSL 导出 excel 文件
- C语言:计算班级平均数
- android tv 国内使用,不花钱解决 Android TV 原生系统国内APP不显示图标
- oracle recover 状态,Oracle RAC undotbs表空间recover状态的恢复
- 有人知道要怎么用c++提取出文本里面的信息吗,例如把这个表格里的所有住户账号,密码提取出来
- 星秒入选毕马威(KPMG)汽车科技新锐企业榜
- 站长付个人微信支付宝收款系统如何对接?
- 液晶屏 TTL屏、LVDS屏、TMDS屏区别
- 操作系统:文件的物理结构(文件分配方式)
- 基于51的单片机GPS定位系统设计
- 百度 | 一份迟来的提前批机器学习面经
- byr_filesys图床
热门文章
- 第16节 调试-粒子系统放在地球上,不见了
- Https接口异常javax.net.ssl.SSLHandshakeException问题
- Android 蓝牙 HFP sco 和esco链路的异同分析
- win10键盘全部没反应_win10笔记本键盘全部没反应 win10键盘全部没反应解决方法...
- 利用fullpage插件,快速开发整屏翻页的页面
- WebRTC技术详解
- 使用TeamView远程电脑无法操作的问题处理
- 苹果在华一天收入可抵与唯冠6000万美元
- Cardboard 凝视
- 康奈尔大学计算机交叉学专业,美国康奈尔大学EE专业设置的五大方向