Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

kafka with sentry and kerberos CDH 5.13

SOLVED Go to solution

kafka with sentry and kerberos CDH 5.13

New Contributor

Hello,

 

I installed apache kafka and sentry on CDH (5.13), but the problem is that I am not able to create roles using the command kafka-sentry. (I executed the command with a superuser account)

I found this error on my log file:

 

ERROR transport.TSaslTransport: SASL negotiation failure
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]

 

Any help please ?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: kafka with sentry and kerberos CDH 5.13

New Contributor

Thank you.

 

I switched kafka user and executed the privileges commands of (kafka-sentry) and the error disappears

 

3 REPLIES 3

Re: kafka with sentry and kerberos CDH 5.13

Master Collaborator
The error indicates your client (kafka-sentry) tries to connect with Kafka service but does not show up any valid ticket from KDC. So try to obtain a valid ticket first with kinit and then try again.

Re: kafka with sentry and kerberos CDH 5.13

New Contributor

Thank you.

 

I switched kafka user and executed the privileges commands of (kafka-sentry) and the error disappears

 

Re: kafka with sentry and kerberos CDH 5.13

Community Manager

Congratulations on solving the issue. Can you please mark the appropriate reply as the solution to your issue. This way it can assist others facing a similar situation. 



Cy Jervis, Community Manager

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:
Community Guidelines
How to use the forum