zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Irfan Hamid <iha...@salesforce.com>
Subject Kerberos authentication setup question
Date Fri, 29 Jan 2016 22:51:01 GMT

We're trying to set up ZooKeeper with Kerberos authentication in our setup.
The documentation about setting this up is a bit complicated. The steps for
the ZooKeeper quorum servers are quite clear:

*ZooKeeper quorum servers*
1. Create zookeeper service principals as described here
I am creating them as zookeeper/fqdn.of.my.zk.quorum.server@MYREAL.COM
2. Copy the keytab files created in (1) to the respective ZooKeeper quorum
servers and place it in the ZooKeeper conf directory
3. Add the configs indicated to the zoo.cfg file
4. Add a jaas.conf file (and point to it as part of the jvm params) as

*ZooKeeper client side*
This part is throwing me for a loop. We are using the basic ZooKeeper API
(not Curator) in our client side code and creating connections using the
vanilla new ZooKeeper(cxnString, ...) constructor. The only documentation
on how to set this up I could find is here
I was wondering if the linked steps would work for my use-case or if these
are for a specific Cloudera ZooKeeper client tool?

1. Create zookeeper client principals using zkcli@MYREAL.COM (the client's
FQDN isn't needed here?)
2. Copy the keytab file to the machine running our client app
3. Make the necessary modifications to jaas.conf
4. Run our client app with the JVM param pointing to the jaas.conf file
from (2)

Is my understanding correct or are these steps only for the Cloudera client


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message