Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

kafka with sentry and kerberos CDH 5.13

avatar
Explorer

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

avatar
Explorer

Thank you.

 

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

 

View solution in original post

3 REPLIES 3

avatar
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.

avatar
Explorer

Thank you.

 

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

 

avatar
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, Manager, Community Program
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.