- 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 Broker not starting after enabling ranger
- Labels:
-
Apache Kafka
Created 10-22-2024 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
After enabling ranger in Kafka, I am not able to bring up the Kafka broker instance.
The error is:
[kafka-raft-io-thread]: Encountered fatal fault: Unexpected error in raft IO thread org.apache.kafka.common.errors.ClusterAuthorizationException: Received cluster authorization error in response InboundResponse(correlationId=0, data=FetchResponseData(throttleTimeMs=0, errorCode=31, sessionId=0, responses=[]), sourceId=155) |
Please help resolve this. Thanks in advance.
Created 10-22-2024 11:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @amru,
We need the complete log file or a relevant log snippet to understand why Kafka is failing after enabling Ranger.
But you should consider checking,
- Check Ranger’s audit logs to see if any access requests were denied, which could help you pinpoint the issue and the specific resource where permissions are lacking.
- You should check the Ranger logs for any errors or issues.
- Ensure that Kafka policies are synced successfully.
- If you are using AD/LDAP, ensure that all users are properly synced with Ranger.
Thank you
Created 10-22-2024 07:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kafka is depolyed in cloudera
Created 10-22-2024 10:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@amru Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our Kafka experts @Babasaheb @rki_ who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 10-22-2024 11:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @amru,
We need the complete log file or a relevant log snippet to understand why Kafka is failing after enabling Ranger.
But you should consider checking,
- Check Ranger’s audit logs to see if any access requests were denied, which could help you pinpoint the issue and the specific resource where permissions are lacking.
- You should check the Ranger logs for any errors or issues.
- Ensure that Kafka policies are synced successfully.
- If you are using AD/LDAP, ensure that all users are properly synced with Ranger.
Thank you
