- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Kafka producer error no partition metadata for topic test1 due to kafka...
- Labels:
-
Apache Kafka
Created ‎07-01-2016 03:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎07-01-2016 09:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎07-01-2016 05:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎07-01-2016 09:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created ‎11-20-2016 11:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
