Administrators must add the following properties to the zoo.cfg configuration file located at /etc/zookeeper/conf:
authProvider.1 = org.apache.zookeeper.server.auth.SASLAuthenticationProvider kerberos.removeHostFromPrincipal = true kerberos.removeRealmFromPrincipal = true