In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Error message:
[2019-05-20 17 purl 38 21894] FATAL Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
Kafka.common.InconsistentBrokerIdException: Configured broker.id 5 doesn't match stored broker.id 0 in meta.properties. If you moved your dat
Ured broker.id matches. If you intend to create a new broker, you should remove all data in your data directories (log.dirs).
At kafka.server.KafkaServer.getBrokerIdAndOfflineDirs (KafkaServer.scala:618)
At kafka.server.KafkaServer.startup (KafkaServer.scala:201)
At kafka.server.KafkaServerStartable.startup (KafkaServerStartable.scala:38)
At kafka.Kafka$.main (Kafka.scala:92)
At kafka.Kafka.main (Kafka.scala)
Solution: modify the broker.id value of meta.properties in log.dirs directory and server.properties in configuration file.
[root@hadoop kafka-logs] # vim / tmp/kafka-logs/meta.properties
#
# Fri May 10 15:37:50 CST 2019
Version=0
Broker.id=5
[root@hadoop kafka-logs] # vim / opt/kafka2.12-1.0.0/config/server.properties
# The id of the broker. This must be set to a unique integer for each broker.
Broker.id=5
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.