Reply
New Contributor
Posts: 5
Registered: ‎12-12-2018
Accepted Solution

kafka with sentry and kerberos CDH 5.13

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 ?

 

Master
Posts: 397
Registered: ‎07-01-2015

Re: kafka with sentry and kerberos CDH 5.13

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.
New Contributor
Posts: 5
Registered: ‎12-12-2018

Re: kafka with sentry and kerberos CDH 5.13

Thank you.

 

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

 

Highlighted
Posts: 915
Kudos: 110
Solutions: 58
Registered: ‎04-06-2015

Re: kafka with sentry and kerberos CDH 5.13

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:

Terms of Service

Community Guidelines

How to use the forum

Announcements