Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Kafka producer error no partition metadata for topic test1 due to kafka...

avatar
Rising Star

Hi

We are getting this error while running Kafak producer.Any inputs

sh kafka-console-producer.sh --broker-list xxxxxxxxx.com:6667 --topic test1 Throwing following error [2016-06-30 12:40:25,122] WARN Error while fetching metadata [{TopicMetadata for topic test1 -> No partition metadata for topic test1 due to kafka.common.TopicAuthorizationException}] for topic [test1]: class

1 ACCEPTED SOLUTION

avatar
Rising Star

Hi

Solved this issue .there was left over from a failed kerbors implementation.So Kafka was trying to get authorised from Kerbors hence the AuthorizationException removed it and restarted Kafka .Every thing works fine.

View solution in original post

3 REPLIES 3

avatar

@Shihab

Can you try deleting the topic test1.

Replace localhost with zookeeper host in below command.

bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic test1

avatar
Rising Star

Hi

Solved this issue .there was left over from a failed kerbors implementation.So Kafka was trying to get authorised from Kerbors hence the AuthorizationException removed it and restarted Kafka .Every thing works fine.

avatar
Expert Contributor

@Shihab,

how did you solve this issue ? what clean-up is required so kafka does not need authorization ?

i'm getting the same issue .. I'm on HDP 2.4.

thanks for your help in advance.