Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Question about configuring kerberized kafka connecting zookeepers that uses non-default service user

avatar
Expert Contributor

This is secure HDP 2.3 cluster. And zookeeper services run as non-default service user.

Is it supported to configure a kerberized kafka cluster to connect with zookeepers having non-default service users ?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@rmaruthiyodan@hortonworks.com - It's supported as far as I know. You are using zookprusr (example) for zookepper , as long as zookeeper service is up , we are good.

Kafka Kerberos Doc

Client { // used for zookeeper connection
       com.sun.security.auth.module.Krb5LoginModule required
       useKeyTab=true
       keyTab="/etc/security/keytabs/kafka.service.keytab"
       storeKey=true
       useTicketCache=false
       serviceName="zookeeper"
       principal="kafka/c6401.ambari.apache.org@EXAMPLE.COM";
       };

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@rmaruthiyodan@hortonworks.com

I know there are customers doing that and as far as I know, its supported. Are you facing any issues?

avatar
Master Mentor

@rmaruthiyodan@hortonworks.com - It's supported as far as I know. You are using zookprusr (example) for zookepper , as long as zookeeper service is up , we are good.

Kafka Kerberos Doc

Client { // used for zookeeper connection
       com.sun.security.auth.module.Krb5LoginModule required
       useKeyTab=true
       keyTab="/etc/security/keytabs/kafka.service.keytab"
       storeKey=true
       useTicketCache=false
       serviceName="zookeeper"
       principal="kafka/c6401.ambari.apache.org@EXAMPLE.COM";
       };