kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darpan Patel <darpa...@gmail.com>
Subject Recovering from Leader : -1 and No ISRs after upgrading to Kafka 1.0
Date Thu, 02 Aug 2018 10:59:29 GMT
Hi guys,

Recently I upgraded from Kafka 0.10 version to kafka 1.0 on one of the
clusters.
After the upgrade, we notice that for most of the topics's partitions ( if
topic has 8 partitions, at least for 5 partitions) we have Leader : -1 and
ISR : blank.

For example here is the example of describe output:

Topic : <TopicName> Partition: 0 Leader -1 Replicas: 101, 102, 103, 104 ISR
:
Topic : <TopicName> Partition: 1 Leader -1 Replicas: 108, 105, 103, 103 ISR
:

For the Kafka upgrade,
I followed this steps:
- Stop kafka
- Added inter.broker.protocol.version = 0.10.1 and
log.message.format.version=0.10.1

Restarted all Kafka brokers
Performed HDP upgrade.
After express upgrade is complete, change the value for
inter.broker.protocol.version to 1.0 and restarted Kafka brokers ( rolling)
After rolling restart, changed value for log.message.format.version to 1.0
and save and restarted all kafka brokers ( rolling)

- After this upgrade found that most of the topic partitions have no
leaders and no ISRs.

If someone has faced this or knows the solution, can you please share your
ideas/steps to recover?

Regards,
Darpan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message