本文主要是介绍Kafka【问题 01】kill -9 导致 Kakfa 重启失败问题处理(doesn‘t match stored clusterId xxx in meta.properties),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.报错信息
The Cluster ID xxx doesn't match stored clusterId Some(yyy) in meta.properties
2.问题处理
通过查询 server.properties 的 log.dirs
配置找到 meta.properties
。
cat ./server.properties
log.dirs=/xxx
或使用 find
命令查找 meta.properties
。
find / -name "meta.properties"
修改 cluster.id
使其与启动时的 Cluster ID
保持一致即可。
这篇关于Kafka【问题 01】kill -9 导致 Kakfa 重启失败问题处理(doesn‘t match stored clusterId xxx in meta.properties)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!