Kafka问题 01kill -9 导致 Kakfa 重启失败问题处理(doesn‘t match stored clusterId xxx in meta.properties)

Posted シ風箏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Kafka问题 01kill -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问题 01kill -9 导致 Kakfa 重启失败问题处理(doesn‘t match stored clusterId xxx in meta.properties)的主要内容,如果未能解决你的问题,请参考以下文章