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.

Using CNAMEs to access Kafka brokers. Kerberos & SPN issue

Using CNAMEs to access Kafka brokers. Kerberos & SPN issue

New Contributor

Hi.

Want to access Kafka brokers via DNS CNAMEs (instead of specific machine host name). The brokers are kerberoised, however when using the CNAME I get an error "kinit: Server not found in Kerberos database while getting initial credentials" - ie there is no SPN created against the CNAME

Ambari must be registering the SPN for the machine name when it setups up the Kerberoised Broker - so my question is can Kafka be used with a CNAME, and if so how to setup the SPN for this (ie how would Ambari have created it, and so can we run the same command using CNAME instead)?

Thanks.

Don't have an account?
Coming from Hortonworks? Activate your account here