Related issue: https://lists.apache.org/thread.html/55df8a7310669a568c3b1e575e9f034ecc7cb242132c17e6df533134@%3Cusers.kafka.apache.org%3E
On Thu, Aug 2, 2018 at 4:29 PM Darpan Patel <darpa...@gmail.com> wrote: > 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 >